![]() Here’s we’ll name it autocomplete, but it can be anything. Here it’s in Cloud mode, but it works with Master-Slave Solr as well: /opt/solr-6.3.0/bin/solr start -cĬreate an AutoComplete collection (or core, if it weren’t SolrCloud). We’ll explain ReSearcher in another post, but for now let’s treat it as a dependency: git clone Ĭp target/st-ReSearcher-core-1.12.6.3.1-SNAPSHOT.jar /opt/solr-6.3.0/server/solr-webapp/webapp/WEB-INF/lib/ ReSearcher is another Solr addon that complements and extends Solr’s built-in spellcheckers, much like what AutoComplete does to Solr’s suggesters. ![]() Once the build process is done, copy the AutoComplete jar to Solr’s installation: cp target/st-AutoComplete-1.6.6.3.1-SNAPSHOT.jar /opt/solr-6.3.0/server/solr-webapp/webapp/WEB-INF/lib/ĪutoComplete depends on Sematext Solr ReSearcher‘s core jar. Just make sure you have Java 8 and Maven and then: git clone At the time of this writing, the last supported Solr version is 6.3. Installationįirst, you’ll need to clone the AutoComplete repository and package it. In general, AutoComplete helps when you need more control over your suggestions, especially since it makes this customization easier via import tools and GUI code. We suggest checking them out as well as Sematext Solr AutoComplete so you can choose what’s best for your use-case. Solr‘s built-in suggesters are easier to maintain when it comes to upgrades and are potentially faster, depending on the selected implementation and number of suggestions that have to be queried.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |