MoreLikeThis does not retrieve all terms when using like()

2006-09-28 Thread Hadas Cohen
Ever since I started using Lucene, I found all answers to all possible questions in the archive. But I need help about those ones. 1. I am using MoreLikeThis class, and cannot figure out why not all terms are retrieved when using like() to generate queries. I extract the terms from a documen

Re: Retrieve all terms

2005-05-19 Thread Chris Hostetter
: > > Then, I want to retrieve all terms from the contents field, but : > > only the ones from the documents matching the language=en. I think what you want is to... 1) open an IndexReader r. 2) create a QueryFilter q wrapping a TermQuery for language:en 3) BitSet en = q.bits(r

Re: Retrieve all terms

2005-05-19 Thread Andy Roberts
On Thursday 19 May 2005 06:53, Morus Walter wrote: > I think he doesn't want the contents but a term list for these contents. > Something like > 1 1 > 4 1 > content 2 > document 2 > for his sample, where the number is the fequency of the term. > > I don't think that you can ea

Re: Retrieve all terms

2005-05-19 Thread Morus Walter
Bill Tschumy writes: > > On May 18, 2005, at 9:54 AM, Albert Vila wrote: > > > Hi all, > > > > I need to retrieve all terms from an specified field filtered for > > another field. For example, > > > > Document 1 -> &

Re: Retrieve all terms

2005-05-18 Thread Bill Tschumy
On May 18, 2005, at 9:54 AM, Albert Vila wrote: Hi all, I need to retrieve all terms from an specified field filtered for another field. For example, Document 1 -> Document 2 -> Document 3 -> D

Retrieve all terms

2005-05-18 Thread Albert Vila
Hi all, I need to retrieve all terms from an specified field filtered for another field. For example, Document 1 -> Document 2 -> Document 3 -> Document 4 -> Then, I want