Article
Posted on 10th November 2015
Takes about 2 mins to read

Languages make everything so complicated! I just discovered the autocomplete bit on my reference fields wasn't working - until I tried searching by another language, and then the results gave me a surprise: My homepage, originally in French, has had an English translation added, but whilst editing in English, I had to search with the French title in order for the page to come up... with the English title! Here's how to solve this... My...

Article
Posted on 11th March 2011
Takes about 4 mins to read

Boosting terms in Solr search results produced by the Apache Solr Search module that integrates Solr with Drupal is something we had to do for a project recently. If a user has come to our website from a search engine, we can pick up the terms that they had originally searched for - and then boost any documents containing those terms in our own search pages, regardless of what they search for on our pages...

Published in: #Drupal #search #solr #Drupal Planet #Drupal 7
Article
Posted on 22nd February 2011
Takes about 1 min to read

Another quick tip here: if you're working with the Apache Solr module, specifically looking at the documents that are being created from your nodes, and you want to print out the document and have a look at what fields and values are on your $document then if you did this: // Print the $document using the devel dpm function. dpm($document); Then you would get a very unhelpful output from Krumo, because all the fields on...

Published in: #quick tips #solr #search