Lucene and Solr
This is now OLD and should do it with elastic search
Articles
- Intro to Lucene - https://www.reddit.com/r/java/comments/xdhdoy/intro_to_lucene_how_to_build_your_search_engine/
- linked article with step by step example of search building - https://advancedweb.hu/intro-to-lucene/
Clearing a Solr Index
http://daniel.hepper.net/blog/2010/11/howto-clear-solr-index/
Solr suggestion autocomplete
http://solr.pl/en/2010/11/15/solr-and-autocomplete-part-2/ http://solr.pl/en/2010/11/15/solr-and-autocomplete-part-1/
http://www.mattweber.org/2009/05/02/solr-autosuggest-with-termscomponent-and-jquery/
The suggester component can give back n-grams which are fragments
http://www.cominvent.com/2012/01/25/super-flexible-autocomplete-with-solr/ This one needs a little modification to work but is kind of cool - you must update the path to JQuery to be http://localhost:8983/solr/js/lib/jquery-1.7.2.min.js Also very useful Git shell window in windows can run .sh bash scripts, so no need to have windows bat files.….
http://blog.kevindoran.co/solr-tutorial/
Spring Data with Solr - http://www.mscharhag.com/2013/11/getting-started-with-spring-data-solr.html
http://techblog.mappy.com/Super%20flexible%20GeoAutoComplete%20with%20Solr.html www.springbyexample.org/examples/solr-client.html http://blog.frankel.ch/solr-as-a-spring-data-module
Spring with Solr
http://projects.spring.io/spring-data-solr/ http://isotope11.com/blog/autocomplete-with-solr-and-jquery-ui http://stackoverflow.com/questions/16441538/autocomplete-using-solr-spring-issue-with-multiple-words
Spring Rest calling
http://spring.io/blog/2009/03/27/rest-in-spring-3-resttemplate/
http://twitter.github.io/typeahead.js/examples http://www.andornot.com/blog/post/Advanced-autocomplete-with-Solr-Ngrams-and-Twitters-typeaheadjs.aspx http://solr-vs-elasticsearch.com/ http://www.lucenetutorial.com/