lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <>
Subject [jira] Commented: (LUCENE-850) Easily create queries that transform subquery scores arbitrarily
Date Mon, 16 Jul 2007 23:59:04 GMT


Doron Cohen commented on LUCENE-850:

> The function query capability works for many situations, as you 
> can store the various types of boosts in a FieldCache and use 
> your approach. But this doesn't scale when there are tons of 
> possible boost fields (which would usually be sparsely-populated). 
> SparseFieldCache, anyone? 

For large collections loading would indeed take long. 
Quoting Michael, payloads will be more efficient for this case. Two options actually:
- faster reading values into a cache
- value-source that feeds on the fly from payloads.

> Easily create queries that transform subquery scores arbitrarily
> ----------------------------------------------------------------
>                 Key: LUCENE-850
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Search
>            Reporter: Mike Klaas
>         Attachments: prodscorer.patch.diff
> Refactor DisMaxQuery into SubQuery(Query|Scorer) that admits easy subclassing.  An example
is given for multiplicatively combining scores.
> Note: patch is not clean; for demonstration purposes only.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message