On Oct 19, 2009, at 6:23 AM, Paul Forsyth wrote:

Hi,

I'm using the terms component for an autosuggest feature and it works well but i've hit an issue with truncation:

Take the following query:

http://localhost:8983/solr/terms?terms.fl=meta_name_t&terms.prefix=switch

This is the response:

<response>

<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
</lst>

<lst name="terms">

<lst name="meta_name_t">
<int name="switchov">35</int>
<int name="switch">7</int>
</lst>
</lst>
</response>

In this case the word 'switchov' is returned where i expected 'switchover'. The word 'switchov' doesn't exist by itself

I'm guessing you are asking for terms on a field that is stemmed.

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using Solr/Lucene:
http://www.lucidimagination.com/search

Reply via email to