lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satya swaroop <>
Subject Re: spell suggest response
Date Mon, 17 Jan 2011 09:43:16 GMT
Hi Grijesh,
            i added both the termscomponent and spellcheck component to the
terms requesthandler, when i send a query as

the result i get is
<lst name="terms">
<lst name="text">
<int name="java">6</int>
<int name="javabas">6</int>
<int name="javas">6</int>
<int name="javascript">6</int>
<int name="javac">6</int>
<int name="javax">6</int>
<lst name="spellcheck">
<lst name="suggestions"/>

when i send this
i get the result as

<lst name="terms">
<lst name="text"/>
<lst name="spellcheck">
<lst name="suggestions">
<lst name="jawa">
int name="numFound">20</int>
<int name="startOffset">0</int>
<int name="endOffset">4</int>
<arr name="suggestion">

Now i need to know how to make ordering of the terms as in the 1st query the
result obtained is inorder and i want only javax, javac,javascript but not
javas,javabas.... how can it be done??


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message