Re: Search with whitespaces

2009-09-29 Thread Robert Muir
Alex, to fix your compile problem, check to see if you have lucene 2.9 core in your classpath. The analyzers contrib depends upon this. If you fix it so you can change TOKEN_SEPARATOR, maybe you want to submit a patch? :) On Tue, Sep 29, 2009 at 12:39 PM, Alex Bredariol Grilo wrote: > To use Shi

Re: Search with whitespaces

2009-09-29 Thread Alex Bredariol Grilo
To use ShingleFilter, I'd like to change its TOKEN_SEPARATOR, but it's final. Furthermore, I tryed to compile its source code but the compiler isn't finding some methods like addAtribute. Does someone know how could I do that? Alex On Fri, Sep 25, 2009 at 2:42 PM, Robert Muir wrote: > i might s

Re: Search with whitespaces

2009-09-25 Thread Robert Muir
i might suggest the shingle package in lucene's contrib for this case. > like to do it for a general case, like trying to search the words joining > > the word before or after. > > > > How could I do that? Is there an analyzer which tokenize like that? > > > > Thank you > > > > > > Alex > > > > --

Re: Search with whitespaces

2009-09-25 Thread Alex Bredariol Grilo
t; Sent: Friday, September 25, 2009 10:12 AM > To: java-user@lucene.apache.org > Subject: Search with whitespaces > > > Hi, > I'm new to Lucene and I'm trying to do some stuff with Lucene but I have > some problems. > > I have some documents, in which some contain t

RE: Search with whitespaces

2009-09-25 Thread Zhang, Lisheng
Friday, September 25, 2009 10:12 AM To: java-user@lucene.apache.org Subject: Search with whitespaces Hi, I'm new to Lucene and I'm trying to do some stuff with Lucene but I have some problems. I have some documents, in which some contain the word notebook written separated, e.g. &qu

Search with whitespaces

2009-09-25 Thread Alex Bredariol Grilo
Hi, I'm new to Lucene and I'm trying to do some stuff with Lucene but I have some problems. I have some documents, in which some contain the word notebook written separated, e.g. "some dummy words note book other dummy words". And I'd like that when I search notebook, these documents could be fou