Re: cross-field AND queries with field boosting

2009-01-28 Thread Muralidharan V
I'm > > concerned about the performance of this query for a large number of > > terms(We > > might need to deal with 4-5 fields and 4-5 terms per query). Is there a > > better solution? > > > > Thanks, >

Re: cross-field AND queries with field boosting

2009-01-28 Thread Karsten F.
We > might need to deal with 4-5 fields and 4-5 terms per query). Is there a > better solution? > > Thanks, > Murali > > -- View this message in context: http://www.nabble.com/cross-field-AND-queries-with-field-boosting-tp2166109

cross-field AND queries with field boosting

2009-01-25 Thread Muralidharan V
Hi, We have documents with multiple fields conceptually, and a document is considered a match if each of the terms in the query is in any one of the fields(i.e a 'cross-field' AND). A simple way to do this would be to dump all of these conceptual fields into one lucene field and do the query w

Re: Field boosting in MemoryIndex

2006-09-28 Thread Wolfgang Hoschek
Hi, I am playing with MemoryIndex for a situation in which I have a large number of small, ephemeral documents that I need to fire queries at. It appears to be at least 5x faster than RAMDirectory for my usage, which is large enough to be interesting. However MemoryIndex does not seem to sup

Field boosting in MemoryIndex

2006-09-14 Thread Garrick Toubassi
Hi, I am playing with MemoryIndex for a situation in which I have a large number of small, ephemeral documents that I need to fire queries at. It appears to be at least 5x faster than RAMDirectory for my usage, which is large enough to be interesting. However MemoryIndex does not seem to support

Re: Field Boosting

2005-11-19 Thread Erik Hatcher
On 19 Nov 2005, at 07:49, [EMAIL PROTECTED] wrote: Can the boosting be greater than 2.0? For example, "field.setBoost((float)20.0)". Yes, of course. Again, have a look at the Explanation (from IndexSearcher.explain()) to see what effect these things have on your scores. Erik ---

Re: Field Boosting

2005-11-19 Thread Daniel . Clark
AM Subject Re: Field Boosting Please respond to

Re: Field Boosting

2005-11-18 Thread Erik Hatcher
Subject Re: Field Boosting Please respond to [EMAIL PROTECTED] apache.org Daniel, Could you give us a test case that shows the boost not working properly? I'm using document level boosting (which is really what field lev

Re: Field Boosting

2005-11-18 Thread Daniel . Clark
he.org 11/17/2005 08:46 cc AM Subject Re: Field Bo

Re: Field Boosting

2005-11-17 Thread Paul Smith
This would be a good candidate for an IllegalStateException to be thrown if the user calls this method when it's not valid. Save the user some hassles? (one can JavaDoc to one is blue in the face, but throwing a good RuntimeException with a message trains the users much quicker... :) ) P

Re: Field Boosting

2005-11-17 Thread Yonik Seeley
Right. getBoost() is meaningless on retrieved documents (it isn't set when a doc is read from the index). There really should have been a separate class for documents retrieved from an index vs documents added... but that's water way under the bridge. -Yonik On 11/17/05, Erik Hatcher <[EMAIL PRO

Re: Field Boosting

2005-11-17 Thread Chris Hostetter
: I don't believe, though haven't checked, that doc.getBoost() is a : valid thing to call on documents retrieved from an index. The boost : factor gets collapsed into other factors computed at index time, so : it is incorrect to expect the exact boost factor set at indexing time : is available dur

Re: Field Boosting

2005-11-17 Thread Erik Hatcher
exSearcher.explain) to see the factors used in scoring. Erik Regards, Daniel -Erik Hatcher <[EMAIL PROTECTED]> escribió: - Para: java-user@lucene.apache.org De: Erik Hatcher <[EMAIL PROTECTED]> Fecha: 17/11/2005 14:46 Asunto: Re: Field Boosting Daniel, Could you gi

Re: Re: Field Boosting

2005-11-17 Thread dblanch
, Daniel -Erik Hatcher <[EMAIL PROTECTED]> escribió: - Para: java-user@lucene.apache.org De: Erik Hatcher <[EMAIL PROTECTED]> Fecha: 17/11/2005 14:46 Asunto: Re: Field Boosting Daniel, Could you give us a test case that shows the boost not working properly? I'm using doc

Re: Field Boosting

2005-11-17 Thread Erik Hatcher
Daniel, Could you give us a test case that shows the boost not working properly? I'm using document level boosting (which is really what field level boosting does under the covers) in some of my applications and it is working as expected. Erik On 17 Nov 2005, at 05:39, [EMAIL PROTECT

Re: Field Boosting

2005-11-17 Thread David Escuer
Hi Daniel, I faced the same problem a couple of days ago. I was trying to set the boost values while indexing, but the results wasn't the expected. I've solved just putting the boost values in the search query, using the '^' operator. There is an example: ((+text:house)^25.0) (+title:house)^

Field Boosting

2005-11-17 Thread Daniel . Clark
When I boost fields while indexing, the fields still have a boost of 1.0 during searching. When I view the values via Luke, it confirms the value of 1.0. Do I have to boost it agin during search? I want certain fields to have higher priority/score during search. How do I get it to work? I'm u