Javadoc error?

2005-02-23 Thread Mark Woon
The javadoc for Field.setBoost() claims: "The boost is multiplied by |Document.getBoost()| of the document containing this field. If a document has multiple fields with the same name, all such v

Re: Strange exception with wildcard use

2003-09-11 Thread Mark Woon
So I've done some digging, and it looks like I can resolve this problem by setting the max clause count on BooleanQuery. However, I'm not really sure what this affects. Can anyone describe what this property controls? Surely it was set to 1024 for a reason... Thanks, -Mark

Strange exception with wildcard use

2003-09-11 Thread Mark Woon
Hi all... I'm getting a BooleanQuery$TooManyClauses exception and I'm not really sure why. I only get it when I do a wild card search, and even then, not all the time. Searching for "ca*" and "pa3*" works just fine, but "pa*" or "pa1*" fails with: org.apache.lucene.search.BooleanQuery$TooMan

Re: Newbie Questions

2003-08-26 Thread Mark Woon
Gregor Heinrich wrote: ad 1: MultiFieldQueryParser is what you might want: you can specify the fields to run the query on. Alternatively, the practice of duplicating the contents of all separate fields in question into one additional merged field has been suggested, which enables you to use Quer

Newbie Questions

2003-08-26 Thread Mark Woon
Hi all... I've been playing with Lucene for a couple days now and I have a couple questions I'm hoping some one can help me with. I've created a Lucene index with data from a database that's in several different fields, and I want to set up a web page where users can search the index. Ideally