Re: boosting a query by a function of other fields

2007-09-06 Thread Will Johnson
I haven't yet looked at SOLR-192 to see how it is done there, though. -Mike it no where near perfect but it did at least pass some unit tests. my immediate need to have that bit of functionality has lessened but i'd be happy to keep working and testing if anyone has comments on the patc

Re: boosting a query by a function of other fields

2007-09-06 Thread Mike Klaas
On 6-Sep-07, at 12:55 PM, Yonik Seeley wrote: On 9/5/07, Mike Klaas <[EMAIL PROTECTED]> wrote: Issues: - Solr still uses it's own FunctionQuery instead of what was added back to Lucene. May want to migrate first, or may want to hold off if changes are needed that would be easier to make her

Re: boosting a query by a function of other fields

2007-09-06 Thread Chris Hostetter
: The main problem being knowing if a doc had a value, right? : The FieldCache doesn't always store that info (only for string-based types). yeah ... i remember giving this some thought before ... ideally the FieldCache methods (getInts, etc...) would have a way for you to specify what value yo

Re: boosting a query by a function of other fields

2007-09-06 Thread Yonik Seeley
On 9/5/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > Issues: > > - Solr still uses it's own FunctionQuery instead of what was added > > back to Lucene. May want to migrate first, or may want to hold off if > > changes are needed that would be easier to make here. > > I believe that the main thing

Re: boosting a query by a function of other fields

2007-09-06 Thread Yonik Seeley
On 9/5/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: > : - I thought about being able to include queries as a ValueSource (so > : one could do functions on relevancy scores). One issue with this is > : that some queries need rewriting to work... so rewrite functionality > : would need to be adde

Re: boosting a query by a function of other fields

2007-09-05 Thread Chris Hostetter
: - Solr still uses it's own FunctionQuery instead of what was added : back to Lucene. May want to migrate first, or may want to hold off if : changes are needed that would be easier to make here. i haven't had a chacne to look at it yet, but i noticed Jira kick out an email recently about a pa

Re: boosting a query by a function of other fields

2007-09-05 Thread Mike Klaas
On 5-Sep-07, at 1:10 PM, Yonik Seeley wrote: Issues: - Solr still uses it's own FunctionQuery instead of what was added back to Lucene. May want to migrate first, or may want to hold off if changes are needed that would be easier to make here. I believe that the main thing missing is the

boosting a query by a function of other fields

2007-09-05 Thread Yonik Seeley
I need to be able to boost a relevancy query by the value of another field (boost as in multiply, not add in a function query to a boolean query as dismax currently does). And instead of a single field, it will actually be a function of many different fields (so most likely a function query). Ins