Re: (lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

2005-12-28 Thread gekkokid
thank you - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 28, 2005 11:52 PM Subject: Re: (lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector On Dec 28, 2005, at 5:27 PM, gekkokid wrote: Hi, i have recently updated to the l

Re: (lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

2005-12-28 Thread Erik Hatcher
On Dec 28, 2005, at 5:27 PM, gekkokid wrote: Hi, i have recently updated to the latest version of lucene in the source repository, the enclosed classes (field types) in Field have been depreciated, is the old Field.Text now Field.TermVector where it is analyzed, indexed and stored? Your

(lucene 1.4.*) Field.Text = (lucene repository) Field.TermVector

2005-12-28 Thread gekkokid
Hi, i have recently updated to the latest version of lucene in the source repository, the enclosed classes (field types) in Field have been depreciated, is the old Field.Text now Field.TermVector where it is analyzed, indexed and stored? thanks, _gk

RE: Boolean Query

2005-12-28 Thread Pasha Bizhan
Hi, > From: Steven Pannell [mailto:[EMAIL PROTECTED] > I want to create a boolean query like: > > 'book' AND ( 'fred' OR 'ginger') > > > TermQuery t1 = new TermQuery(new Term("type","book")); > TermQuery t2 = new TermQuery(new Term("author","fred")); > TermQuery t3 = n

Boolean Query

2005-12-28 Thread Steven Pannell
Hi, I want to create a boolean query like: 'book' AND ( 'fred' OR 'ginger') Anyone know how I can do the above in a BooleanQuery. I tried this: but it does not work. TermQuery t1 = new TermQuery(new Term("type","book")); TermQuery t2 = new TermQuery(new Term("author","fred"));

Re: Highlighter

2005-12-28 Thread Erik Hatcher
The Highlighter class is not in the core of Lucene. When 1.4.3 was released, the add-ons such as the Highlighter were in a separate CVS repository called "sandbox". When we moved to Subversion we put it all together and it is now under a directory called contrib/highlighter. To have a Hig

Re: filtering an IndexReader

2005-12-28 Thread Erik Hatcher
On Dec 27, 2005, at 9:18 PM, Eric Schulte wrote: Good evening everyone, So, I apologize if this question has a simple answer (although I hope it does). I am trying to apply a filter to an IndexReader, so that the reader can only see documents that match the filter. The goal here is to be

Highlighter

2005-12-28 Thread revati joshi
Hello lucene members, i hve tried indexing n searching n it works properly.Now i want to use Highlighter class in my search class for highlighting terms.But when i call this class or import this class then this class is not interpreted by java.As lucene1.4.