Re: Find similar documents of different types

2012-01-31 Thread Pedro Lacerda
using searcher and similarity). I failed in using this map to construct an query because I'm finding something like TermQuery("*", termStr), or building one TermQuery by field by termStr is ok? Sorry if i'm not sufficiently explicit about what I mean, I'm on basic level English co

Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-30 Thread Pedro Lacerda
I didn't know about CharArraySet.EMPTY_SET, thanks. Pedro Lacerda 2012/1/29 Uwe Schindler > Hi, > > If you want to disable *all* stop words, then CharArraySet.EMPTY_SET is the > right choice. For performance reasons you should also use CharArraySet for > non-empty s

Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Pedro Lacerda
Hi Cheng, You can provide your own set of stop words as the second argument of StandardAnalyzer constructor. new StandardAnalyzer(version, new HashSet()); Pedro Lacerda 2012/1/28 Cheng > Hi, > > I don't want to filter certain stop words within the StandardAnalyzer?