Re: About the field of PhraseQuery

2005-06-19 Thread Paul Libbrecht
So why is there no such constructor PhraseQuery(String fieldName) and a method add(Token tok) ?? That would be much more intuitive I feel! paul Le 18 juin 05, à 09:44, Paul Elschot a écrit : It will throw an IllegalArgumentException when a Term is added with a different field, which is pro

Problems with concurrency using Tomcat

2005-06-19 Thread Joseph MarkAnthony
I have been struggling with this problem for months and have made no progress. I have created a simple web app for my Lucene indices that allow the user to rebuild or update the index. In the *same* web app (perhaps this is important), I have the search module. The update module works fine - unti

Lucene scoring bounds ??

2005-06-19 Thread Paul Libbrecht
Hi, I read the lucene-book about scoring and read a bit of the javadoc but I can't seem to find somewhere expectations of the bouds for the score value. I had believe the score would end up between 0 and 1 but I seem to keep having values under 0.2. It may be due to my special requests but...

md5 keyword field issue

2005-06-19 Thread catalin-lucene
Hi there, i have an index with the following infos in it: url - keyword - Field("url", this.url, Field.Store.YES, Field.Index.UN_TOKENIZED); md5 - keyword - Field("md5", this.url, Field.Store.YES, Field.Index.UN_TOKENIZED); alt - Field("alt", this.alt, Field.Store.YES, Field.Index.TOKENIZED); i