You've got a lot of options depending on what you want. But since you seem to just want _an_ example, you can use mine from http://www.solr-start.com/javadoc/solr-lucene/index.html (gray search box there).
You can see the source for the test screen (using Spring Boot and Spring Data Solr as a middle-layer) and Select2 for the UI at: https://github.com/arafalov/Solr-Javadoc/tree/master/SearchServer. The Solr definition is at: https://github.com/arafalov/Solr-Javadoc/tree/master/JavadocIndex/JavadocCollection/conf Other implementation pieces are in that (and another) public repository as well, but it's all in Java. You'll probably want to do something similar in PHP. Regards, Alex. ---- Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 26 January 2015 at 17:11, Olivier Austina <olivier.aust...@gmail.com> wrote: > Hi All, > > I would say I am new to web technology. > > I would like to implement auto complete/suggestion in the user search box > as the user type in the search box (like Google for example). I am using > Solr as database. Basically I am familiar with Solr and I can formulate > suggestion queries. > > But now I don't know how to implement suggestion in the User Interface. > Which technologies should I need. The website is in PHP. Any suggestions, > examples, basic tutorial is welcome. Thank you. > > > > Regards > Olivier