Re: Concatenate multiple tokens into one

2010-11-11 Thread Robert Gründler
ot;)) { >>>>builder.append(termAttribute.term()); >>>> >>>>} >>>>incremented = true; >>>> } >>>> >>>>

Re: Concatenate multiple tokens into one

2010-11-11 Thread Nick Martin
} >>> >>> token.setTermBuffer(builder.toString()); >>> >>> if (incremented == true) >>> return token; >>> >>> return null; >&

Re: Concatenate multiple tokens into one

2010-11-11 Thread Robert Gründler
t;> I'm not sure if this is a safe way to do this, as i'm not familar with the >> whole solr/lucene implementation after all. >> >> >> best >> >> >> -robert >> >> >> >> >>> >>> Then lowercase, remove white

Re: Concatenate multiple tokens into one

2010-11-11 Thread Nick Martin
the token, then when making your queries for >> auto-complete, be sure to use a query parser that doesn't do >> "pre-tokenization", the 'field' query parser should work well for this. >> >> Jonathan >> >> >&

Re: Concatenate multiple tokens into one

2010-11-10 Thread Robert Gründler
> > > ____________ > From: Robert Gründler [rob...@dubture.com] > Sent: Wednesday, November 10, 2010 6:39 PM > To: solr-user@lucene.apache.org > Subject: Concatenate multiple tokens into one > > Hi, > > i'

RE: Concatenate multiple tokens into one

2010-11-10 Thread Jonathan Rochkind
__ From: Robert Gründler [rob...@dubture.com] Sent: Wednesday, November 10, 2010 6:39 PM To: solr-user@lucene.apache.org Subject: Concatenate multiple tokens into one Hi, i've created the following filterchain in a field type, the idea is to use it for autocompletion purposes:

Concatenate multiple tokens into one

2010-11-10 Thread Robert Gründler
Hi, i've created the following filterchain in a field type, the idea is to use it for autocompletion purposes: With that kind of filterchain, the EdgeNGramFilterFactory will receive multiple tokens on input strings with whitespaces in it. This leads to the following results: I