…is all you need: curl -H "Content-Type: application/xml" \ -X POST ‘http://solrhost:8983/solr/collection/querqy/rewriter/commonrules1?action=save’ \ –data-raw ‘{ "class": "querqy.solr.rewriter.commonrules.CommonRulesRewriterFactory", "config": { "rules" : "notebook =>\nSYNONYM: laptop" } }’ As a nice side-effect,…
…system. If you want to follow along, these steps work with the repository https://github.com/epugh/playing-with-solr-streaming-expressions. Follow the first section in the README for setting up the sample Solr cluster. The Solr…
…I indicated that I wanted Solr to soft commit all pending documents every 10 seconds. Then at 30 seconds, I wanted to hard commit. ${solr.ulog.dir:} 30000 10000 I used SolrJ…
…Server is the directory where Solr resides cd server unzip webapps/solr.war -d solr-webapp/webapp Download the appropriate libraries (links below direct to search.maven.org’s mirrors) jetty-servlets-8.1.14.v20131031.jar jetty-util-8.1.14.v20131031.jar Copy the downloaded JAR files…
…and we are excited to see the book now “in the wild!”. Below is a copy of the email sent to the Solr community: Fellow Solr users, Ive finally finished…
Solr Consulting
…source platforms. Our CEO Eric Pugh is a Solr Committer and co-authored the first book on Solr, Apache Solr Enterprise Search Server, now in its third edition. Also on our…
We’ve been developing rich client-side applications that talk directly to Solr’s HTTP interface from Javascript – requiring a publicly accessible Solr. One concern that you’ll naturally have with Solr is…
…they chose Solr when they should have chosen Elasticsearch (or vice versa). Smart teams use both: Wikipedia uses Elasticsearch. Reddit uses Solr via Fusion. Where I have seen teams fall…
…Solr, we have a new tool, HealthCheck to play with: https://github.com/apache/lucene-solr/blob/a847deabd09e9110957d22ec3a294c64ffd6e159/solr/core/src/java/org/apache/solr/util/SolrCLI.java#L871 You pass in your collection you are interested in checking, as well as the ZooKeeper URL, and it helpfully…
…next London Lucene/Solr Meetup on July 4th. Here at LexisNexis we use Solr extensively, and I’m on a team building some new production-ready infrastructure around it. We ran into a…
…about each one in the README, however here is the DSE specific version of the commands: import com.lucidworks.spark.SolrRDD;var solrRDD = new SolrRDD("localhost:2181","collection1");var tweetsRDD = solrRDD.query(sc,"*:*");var count = tweetsRDD.count();csc.setKeyspace("tweets");var tweetsDF =…
…one searches for potatoes… they just want potatoes. Wendys Potatoes SOLR_URL: http://localhost:8983/recommendation?q=potatoes&fq=recommendToTheseUsers:46f7a9a9-c661-4497-81a9-64ed537b65b0 Much better; with the exception of one item, everything pictured here is a potato. Daves Potatoes SOLR_URL: http://localhost:8983/recommendation?q=potatoes&fq=recommendToTheseUsers:973990af-1482-4b63-a83c-bd2d8fc1ff32…