Can you show us the query you are issuing? Make sure you add spellcheck=true
to the query as a parameter to turn on spell checking.

On Mon, Jul 28, 2008 at 6:16 PM, Andrew Nagy <[EMAIL PROTECTED]>wrote:

> Shalin - yes the allfields field exists in my schema.xml file.  It is a
> field that has all of the text from all of the fields concatenated together
> into one field.
>
> My spellCheckIndexDir is created and has 2 segment files, but I think the
> index is empty.  When I initiate the 1st spellcheck.build=true ... the
> results load immediately ... I would imagine some time delay as it builds
> the index.
>
> Any other ideas?
>
> Andrew
>
> > -----Original Message-----
> > From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 25, 2008 3:35 PM
> > To: solr-user@lucene.apache.org
> > Subject: Re: Multiple search components in one handler - ie
> > spellchecker
> >
> > On Sat, Jul 26, 2008 at 12:37 AM, Andrew Nagy
> > <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Exactly - however the spellcheck component is not working for my
> > setup.
> > >  The spelling suggestions never show in the response.  I think I have
> > the
> > > solrconfig setup incorrectly.  Also my solr/data/spell index that is
> > created
> > > is empty.  Something is not configured correctly, any ideas?
> > >
> > > Andrew
> > > ________________________________________
> > > From: Geoffrey Young [EMAIL PROTECTED]
> > > Sent: Friday, July 25, 2008 3:04 PM
> > > To: solr-user@lucene.apache.org
> > > Subject: Re: Multiple search components in one handler - ie
> > spellchecker
> > >
> > > Andrew Nagy wrote:
> > > > Thanks for getting back to me Geoff.  Although, that is pretty much
> > > > what I have.  Maybe if I show my solrconfig someone might be able
> > to
> > > > point out what I have incorrect?  The problem is that nothing
> > related
> > > > to the spelling options are show in the results, just the normal
> > > > expected search results.
> > >
> > > right.  the spellcheck component does not issue a separate query
> > *after*
> > > running the spellcheck, it merely offers suggestions in parallel with
> > > your existing query.
> > >
> > > the results are more like
> > >
> > >   "below are the results for $query.  did you mean $suggestions?"
> > >
> > > HTH
> > >
> > > --Geoff
> > >
> > >
> > >
> > Is the allfields in your spell checker configuration in your
> > schema.xml? Can
> > you see the spellcheckIndexDir created inside the Solr's data
> > directory?
> >
> > --
> > Regards,
> > Shalin Shekhar Mangar.
>



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to