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

Re: Search with whitespaces

2009-09-25 Thread Alex Bredariol Grilo
tion (assuming field is f1): > > f1:notebook f1:"note book" > > which means (notebook OR "note book"), 2nd condition is phrase > search. > > Best regards, Lisheng > > -Original Message- > From: Alex Bredariol Grilo [mailto:abgr...@gmail.com] &g

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