lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aniljayanti <>
Subject Re: AW: AW: auto completion search with solr using NGrams in SOLR
Date Wed, 05 Sep 2012 09:03:25 GMT


i want to search with title and empname both. for example when we use any
search engine like google,yahoo... we donot specify any type that is (name
or title or song...). Here (*suggest/?q="michael
b"&df=title&defType=lucene*) we are specifying the title type search. 

I removed said configurations in solrconfig.xml file, got result like below.

<lst name="spellcheck">
  <lst name="suggestions">
  <lst name="michael">
  <int name="numFound">10</int> 
  <int name="startOffset">1</int> 
  <int name="endOffset">8</int> 
  <arr name="suggestion">
  <str>michael "</str> 
  <str>michael j</str> 
  <str>michael ja</str> 
  <str>michael jac</str> 
  <str>michael jack</str> 
  <str>michael jacks</str> 
  <str>michael jackso</str> 
  <str>michael jackson</str> 
  <lst name="b">
  <int name="numFound">10</int> 
  <int name="startOffset">9</int> 
  <int name="endOffset">10</int> 
  <arr name="suggestion">
  <str name="collation">"michael b"</str> 

I sent my schema and solrconfig xml file configurations. Please check.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message