Re: Why QueryParser isn't in API?

2012-11-12 Thread Chris Male
; didn't find in api. And a simple example in docs still used the class. > And are there > anthor methods to replace it. Thx! > > Harry Yu -- Chris Male | Open Source Search Developer | elasticsearch | www.e<http://www.dutchworks.nl> lasticsearch.com

Re: Lucene 4.0 PerFieldAnalyzerWrapper question

2012-09-25 Thread Chris Male
t; return new TokenStreamComponents(tokenizer, tokenStream); > } > } > wrapComponents is useful for when you need to change the components retrieved from the wrapped Analyzer. Adding a new Tokenizer or TokenFilter for example. But you don't need to do this, and can just return t

Re: Lucene 4.0 PerFieldAnalyzerWrapper question

2012-09-25 Thread Chris Male
fieldname, Reader > reader) { > Tokenizer source = ???; > TokenStream stream = _analyzer.tokenStream(fieldname, reader); > return new TokenStreamComponents(source, stream); > } > } > > I must be missing something obvious. Can you tell me what it is? > Thanks, &g

Re: Lucene 4.0 PerFieldAnalyzerWrapper question

2012-09-25 Thread Chris Male
nents function that specifies which tokenizer to use with which > field, though. It looks like the PerFieldAnalyzerWrapper itself assumes > that the same tokenizer will be used with all fields, as its wrapComponents > function ignores the fieldname parameter. I would appreciate any help

Re: ResourceLoader?

2012-08-29 Thread Chris Male
; use > > > it? > > > > > > > Where is it deprecated? What does the deprecation message say? > > > > -- > > lucidworks.com > > > > - > > To unsubscribe, e-mail: java

Re: [POLL] Where do you get Lucene/Solr from? Maven? ASF Mirrors?

2011-01-18 Thread Chris Male
> > > [X] ASF Mirrors (linked in our release announcements or via the Lucene > website) > > [X] Maven repository (whether you use Maven, Ant+Ivy, Buildr, etc.) > > [] I/we build them from source via an SVN/Git checkout. > > [] Other (someone in your company mirrors them internally or via a > downst