I am integrating solr with liferay and I want implement smart next word suggester. for eg if title of my documents are following:
- Solr is best search engine in world
- Solr is implemented on lucene search engine
- Solr are lucene used by 80% of developers as search engine in world
- lucene doesn't require separate installation on app server for make search implementation
So if I type Solr, I should get following result :
- solr
- solr lucene
- Solr search
- solr engine
- solr world
etc.
if I type lucene, I should get following result :
- lucene
- lucene search
- lucene engine
- lucene world
etc.
I tried lots of example and they works but I am facing following problems:
- Suggestions work if I start from prefix Solr, If I start typing any middle word, it doesn't work
- I am getting complete sentence not next best matching word.
Please help. Thanks in advance :)