Posted on August 30, 2010 - 9:51pm by Peter Wolanin.
It sounded like a really simple request: "Is it easy to add a search filter for 'My posts'?". In other words, add a search result facet for posts by the current (logged in) user through the Apache Solr Search Integration module APIs?
But then the wheels start turning - we want not just one blind link, but a real facet link that tells us how many results we'll get. Also, if we are filtering by 'My posts' then we probably have an equal use case for the opposite filter 'Posts not by me'. So we really need a facet block with two links and facets counts. Read full article »
Posted on August 25, 2010 - 12:02pm by Peter Wolanin.
It's day two at Drupalcon Copenhagan, and Robert Douglass and I presented this afternoon on Apache Solr Search Mastery. While the concepts in this talk apply to the Drupal 6 versions, all the code examples are taken from the Drupal 7 port of the Apache Solr module. Read full article »
Posted on July 1, 2010 - 11:33pm by Peter Wolanin.
We have marked the one year anniversary of the our hosted search service by rolling out a significant update with new features and some fixes. This was released Wednesday night (June 30). Read full article »
Apache Solr is a powerful and flexible mechanism for performing site search on a Drupal site. Join us as we talk with Robert Douglass about all things Solr in Drupal, including new features and functionality and future development plans. Also, as a bonus, you will hear Robert use the word "de-baconify" in the context of Solr and Drupal.
Posted on April 11, 2010 - 9:07pm by Peter Wolanin.
In the run-up to our talk "Apache Solr Search Mastery" at Drupalcon San Francisco, we decided that we would not have time to really cover all the advanced topics in the session. So we're going to put up a couple blog posts before hand to invite some discussion and encourage people to dig into the code ahead of time and then we can take questions at the end of the session or during a BoF.
This first post describes the elements of a module that implements a customized IP-address-based scheme for access control on Solr searches. It's a simplified version of the sort of access controls that some universities or companies use to only show (for example) journal articles purchased under license via a website for the library where the license restricts access to students or employees who are on-site. The attached module demonstrates how such a scheme for controlling which nodes appear in search results can be implemented. The code there should be contrasted with the code in the apachesolr_nodeaccess module. Read full article »
Posted on February 7, 2010 - 5:51am by Robert Douglass.
Drupal's file handling capabilities keep getting better. Beyond the core upload module, the filefield module for CCK has enabled us to build sites with all sorts of files; documents, images, music, videos, and so forth. Searching within these docuements, however, has never been a common feature on Drupal sites. Some solutions have existed, particularly for extracting texts from PDFs and common wordprocessing documents. With Apache Solr, the attachments module, and an extension library called Tika, things can be much better. With Tika you can extract texts not only from Microsoft Office, Open Office, and PDF documents, you can also get text and metadata from images, songs, Flash movies and zipped archives. Searching for these texts is done as part of the normal Apache Solr driven site search. Read full article »
Posted on December 7, 2009 - 1:15pm by Kris Van Eyck.
We recently deployed a website to a production environment. Before that, the website lived on a staging server. On staging, the site got indexed perfectly by Acquia Search. When we made the move to production, we needed to clear out the index because of an issue we had (the index contained content from 2 drupal sites because they used the same acquia subscribtion key). On the production server, it now seems only new content gets indexed. The log is saying "Number of documents in index: 2". Read full article »