AW: AW: Analyzing suggester for many fields

2014-06-12 Thread Clemens Wyss DEV
THX! -Ursprüngliche Nachricht- Von: Neil Bacon [mailto:neil.ba...@nicta.com.au] Gesendet: Freitag, 13. Juni 2014 01:48 An: java-user@lucene.apache.org Betreff: Re: AW: Analyzing suggester for many fields Hi Clemens, Goutham's code is at: https://github.com/gtholpadi/MyLucene I&#x

Re: AW: Analyzing suggester for many fields

2014-06-12 Thread Neil Bacon
apper(tfit ) -Ursprüngliche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 12. Juni 2014 16:01 An: java-user@lucene.apache.org Betreff: AW: Analyzing suggester for many fields trying to re-build the multi-field TermFreqIterator based on the Goutham'

AW: Analyzing suggester for many fields

2014-06-12 Thread Clemens Wyss DEV
enter InputIteratorWrapper ;) i.e. new InputIteratorWrapper(tfit ) -Ursprüngliche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Donnerstag, 12. Juni 2014 16:01 An: java-user@lucene.apache.org Betreff: AW: Analyzing suggester for many fields trying to re-build

AW: Analyzing suggester for many fields

2014-06-12 Thread Clemens Wyss DEV
liche Nachricht- Von: Clemens Wyss DEV [mailto:clemens...@mysign.ch] Gesendet: Mittwoch, 11. Juni 2014 12:57 An: java-user@lucene.apache.org Betreff: AW: Analyzing suggester for many fields Unfortunately the link provided by Goutham is no more valid. Anybody still got the code? -Ursprüng

AW: Analyzing suggester for many fields

2014-06-11 Thread Clemens Wyss DEV
Unfortunately the link provided by Goutham is no more valid. Anybody still got the code? -Ursprüngliche Nachricht- Von: Goutham Tholpadi [mailto:gtholp...@gmail.com] Gesendet: Donnerstag, 29. August 2013 06:21 An: java-user@lucene.apache.org Betreff: Re: Analyzing suggester for many

Re: Analyzing suggester for many fields

2013-08-28 Thread Goutham Tholpadi
I implemented a simple TermFreqIterator for wrapping Iterator-s from multiple fields, or from multiple AtomicReaders under an IndexReader. It seems to work for me. In case anyone else wants to use a quick-fix, here it is: http://pastebin.com/Hm2zW9xR . Goutham Tholpadi https://sites.google.com/sit

Re: Analyzing suggester for many fields

2013-08-27 Thread Goutham Tholpadi
Field-specific suggestions is a good idea that I had not thought about. Thanks Mike, for the answer, and the suggestion! :) Goutham Tholpadi https://sites.google.com/site/gtholpadi/ On Tue, Aug 27, 2013 at 9:28 PM, Michael McCandless wrote: > I think you should just implement your own TermFreqI

Re: Analyzing suggester for many fields

2013-08-27 Thread Michael McCandless
I think you should just implement your own TermFreqIterator, that wraps/delegates each of the N fields in turn? But, at suggestion time, do you need per-field suggestions? If so, maybe you should build a separate suggester for each field... Mike McCandless http://blog.mikemccandless.com On Tu

Analyzing suggester for many fields

2013-08-27 Thread Goutham Tholpadi
Lucene Version : 4.4.0 SITUATION : I need to suggest terms to the user based on a query prefix typed in a textbox. The terms suggested should exist in the index that will be searched. I want to suggest terms from more than one field in the index. I am trying to use org.apache.lucene.search.sugge