You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by bbi123 <bb...@gmail.com> on 2014/03/14 21:24:40 UTC

Re: Solr Autosuggest - Strange issue with leading numbers in query

I tied almost all possible combination but in vain.

Does anyone know if there is any logic build in to suggester component to
ignore the leading numbers?

autocomplete?qt=/lucid&req_type=auto_complete&spellcheck.collate=false&q=34g

<lst name="spellcheck">
<lst name="suggestions">
<lst name="g">
<int name="numFound">1</int>
<int name="startOffset">2</int>
<int name="endOffset">3</int>
<arr name="suggestion">
<str>galaxy</str>
</arr>
</lst>
</lst>
</lst>
</response>


/autocomplete?qt=/lucid&req_type=auto_complete&spellcheck.collate=false&q=11123423432423243ip

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
</lst>
<lst name="spellcheck">
<lst name="suggestions">
<lst name="ip">
<int name="numFound">2</int>
*<int name="startOffset">17</int>*
<int name="endOffset">19</int>
<arr name="suggestion">
<str>ipad</str>
<str>iphone</str>
</arr>
</lst>
</lst>
</lst>
</response>



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Autosuggest-Strange-issue-with-leading-numbers-in-query-tp4116751p4123702.html
Sent from the Solr - User mailing list archive at Nabble.com.