When to consider Solr

This question calls for a very broad answer to be answered in all aspects. There are very well certain specificas that may make one system superior to another for a special use case, but I want to cover the basics here. I will deal entirely with Solr as an example for several search engines that … Read more

How to filter query in solr by date?

If you want to get last week publications you can do somehting like: &fq=published_date:[NOW-7DAY/DAY TO NOW] But if you want a concrete date you must do it in the SOLR date format: &fq=published_date:[2013-07-17T00:00:00Z TO NOW] Last but not least. use [ ] for inclusive ranges use { } for exclusive ranges you can mix them … Read more

How to evaluate hosted full text search solutions?

Websolr provides a cloud-based Solr with a control panel. It’s in private beta as of this writing, but you can get the service through Heroku. Another hosted Solr service is PowCloud, also in private beta, which seems to offer strong WordPress integration. SolrHQ: another beta service providing a hosted Solr solution, with Joomla and WordPress … Read more

How to start Solr automatically?

As you’re on a shared Linux box, you’ll have to ask the system administrator to do the following, probably. Create a startup script in /etc/init.d/solr. Copy this code, my Solr startup script, into that file: #!/bin/sh # Prerequisites: # 1. Solr needs to be installed at /usr/local/solr/example # 2. daemon needs to be installed # … Read more