Thanks for the pointer. Definitely appreciate the help. Todd
On Thu, Sep 10, 2009 at 11:10 AM, Jay Hill <jayallenh...@gmail.com> wrote: > If you need an alternative to using the TermsComponent for auto-suggest, > have a look at this blog on using EdgeNGrams instead of the TermsComponent. > > > http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ > > -Jay > http://www.lucidimagination.com > > > On Wed, Sep 9, 2009 at 3:35 PM, Todd Benge <todd.be...@gmail.com> wrote: > > > We're using the StandardAnalyzer but I'm fairly certain that's not the > > issue. > > > > In fact, I there doesn't appear to be any issue with Lucene or Solr. > There > > are many instances of data in which users have removed the whitespace so > > they have a high frequency which means they bubble to the top of the > sort. > > The result is that a search for a name shows a first and last name > without > > the whitespace. > > > > One thing I've noticed is that since TermsComponent is working on a > single > > Term, there doesn't seem to be a way to query against a phrase. The same > > example as above applies, so if you're querying for name it'd be prefered > > to > > get multi-term responses back if a first name matches. > > > > Any suggestions? > > > > Thanks for all the help. It's much appreciated. > > > > Todd > > > > > > On Wed, Sep 9, 2009 at 12:11 PM, Grant Ingersoll <gsing...@apache.org > > >wrote: > > > > > And what Analyzer are you using? I'm guessing that your words are > being > > > split up during analysis, which is why you aren't seeing whitespace. > If > > you > > > want to keep the whitespace, you will need to use the String field type > > or > > > possibly the Keyword Analyzer. > > > > > > -Grant > > > > > > > > > On Sep 9, 2009, at 11:06 AM, Todd Benge wrote: > > > > > > It's set as Field.Store.YES, Field.Index.ANALYZED. > > >> > > >> > > >> > > >> On Wed, Sep 9, 2009 at 8:15 AM, Grant Ingersoll <gsing...@apache.org> > > >> wrote: > > >> > > >> How are you tokenizing/analyzing the field you are accessing? > > >>> > > >>> > > >>> On Sep 9, 2009, at 8:49 AM, Todd Benge wrote: > > >>> > > >>> Hi Rekha, > > >>> > > >>>> > > >>>> Here's teh link to the TermsComponent info: > > >>>> > > >>>> http://wiki.apache.org/solr/TermsComponent > > >>>> > > >>>> and another link Matt Weber did on autocompletion: > > >>>> > > >>>> > > >>>> > > >>>> > > > http://www.mattweber.org/2009/05/02/solr-autosuggest-with-termscomponent-and-jquery/ > > >>>> > > >>>> We had to upgrade to the latest nightly to get the TermsComponent to > > >>>> work. > > >>>> > > >>>> Good Luck! > > >>>> > > >>>> Todd > > >>>> > > >>>> On Wed, Sep 9, 2009 at 5:17 AM, dharhsana < > rekha.dharsh...@gmail.com> > > >>>> wrote: > > >>>> > > >>>> > > >>>> Hi, > > >>>>> > > >>>>> I have a requirement on Autocompletion search , iam using solr 1.4. > > >>>>> > > >>>>> Could you please tell me how you worked on that Terms component > using > > >>>>> solr > > >>>>> 1.4, > > >>>>> i could'nt find terms component in solr 1.4 which i have > > downloaded,is > > >>>>> there > > >>>>> anyother configuration should be done. > > >>>>> > > >>>>> Do you have code for autocompletion, please share wih me.. > > >>>>> > > >>>>> Regards > > >>>>> Rekha > > >>>>> > > >>>>> > > >>>>> > > >>>>> tbenge wrote: > > >>>>> > > >>>>> > > >>>>>> Hi, > > >>>>>> > > >>>>>> I was looking at TermsComponent in Solr 1.4 as a way of building a > > >>>>>> autocomplete function. I have a prototype working but noticed > that > > >>>>>> terms > > >>>>>> that have whitespace in them when indexed are absent the > whitespace > > >>>>>> when > > >>>>>> returned from the TermsComponent. > > >>>>>> > > >>>>>> Any ideas on why that may be happening? Am I just missing a > > >>>>>> > > >>>>>> configuration > > >>>>> > > >>>>> option? > > >>>>>> > > >>>>>> Thanks, > > >>>>>> > > >>>>>> Todd > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> -- > > >>>>> View this message in context: > > >>>>> http://www.nabble.com/TermsComponent-tp25302503p25362829.html > > >>>>> Sent from the Solr - User mailing list archive at Nabble.com. > > >>>>> > > >>>>> > > >>>>> > > >>>>> -------------------------- > > >>> Grant Ingersoll > > >>> http://www.lucidimagination.com/ > > >>> > > >>> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) > > using > > >>> Solr/Lucene: > > >>> http://www.lucidimagination.com/search > > >>> > > >>> > > >>> > > > -------------------------- > > > Grant Ingersoll > > > http://www.lucidimagination.com/ > > > > > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) > using > > > Solr/Lucene: > > > http://www.lucidimagination.com/search > > > > > > > > >