Field search problem(only single word query works)

2006-02-04 Thread Xin Herbert Wu
Hi, I have two libraries A and B indexed from database tables where A has about 10 fields and B has about 30 fields(with about a couple of hundred records). A and B both have a TEXT type field "headline" reading data from the same database table column. However the field query - "headline: fi

two problems of using the lucene.

2006-02-04 Thread xing jiang
Hi, I got two problems of using the lucene and may need your help. 1. For each word, how the lucene calculate its weight. I only know for each work in the document will be weighed by its tf/idf values. 2. Can I modify the lucene so that i use the term frequency instead of tf/idf value to calcula

Re: Frequency Matrix

2006-02-04 Thread varun sood
Hi Chris, Thanks a zillion for providing me this quick solution. It worked! It would not have been possible withiut yur help in such a short time. Is it your dedicated effort to learn Lucene or some technique? Thanks, Varun On 2/3/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > take a

Two problems of lucene.

2006-02-04 Thread xing jiang
Hi, I got two problems of lucene. 1. How does the lucene calculate each term's weight in the query? Is it a simple boolean value? 2. Can i change the similarity measure in the lucene? For instance, i only use the term frequence instead of the tf/idf value to give weight to each term in the docum

Re: Terms not being found in query

2006-02-04 Thread Erik Hatcher
On Feb 4, 2006, at 1:09 AM, kate wrote: i have an index with documents containing n-grams, in fields such as "3gram", "4gram", etc. one 5-gram found in the text is "oswax". using Luke, i can see that a field with this value exists for a particular document. however, searching for "5gram:os