What does your allText field's type look like? Does it lower-case terms like
Apple->apple?
Are you sure that "apple" is indexed in that field?
For comparison, or an alternative, try using the Solr terms component to see
what terms are actually indexed in that field:
curl
"http://localhost:8983/solr/terms?terms.fl=allText&terms.limit=100&indent=true"
-- Jack Krupansky
-----Original Message-----
From: Utkarsh Sengar
Sent: Monday, August 05, 2013 7:40 PM
To: solr-user@lucene.apache.org
Subject: Re: Suggest aka "autocomplete" request handler with solr 4.4
Bumping this one, is this feature maintained anymore?
Thanks,
-Utkarsh
On Fri, Aug 2, 2013 at 2:27 PM, Utkarsh Sengar <utkarsh2...@gmail.com>wrote:
I am trying to get autocorrect and suggest feature work on my solr 4.4
setup.
As recommended here: http://wiki.apache.org/solr/Suggester, this is my
solrconfig: http://apaste.info/eBPr
Where "allText" is a copy field which indexes all the content I have in
document title, description etc.
I am trying to use it like this:
http://solr_server/solr/core1/suggest?q=appl and I expect to see "apple"
but I get this response:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
</lst>
</response>
I have reindexed my data after adding this config (i.e. loading the whole
dataset again via UpdateCSV), also tried to reload the core via http.
So, I have 2 questions:
1. Is there a better way to reindex from the solr admin panel directly
without actually going through the process of loading the data again?
2. Any suggestions on what am I missing with the "suggest" request
handler?
--
Thanks,
-Utkarsh
--
Thanks,
-Utkarsh