lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1432) FunctionQueries aren't correctly weighted
Date Tue, 15 Sep 2009 16:17:58 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated SOLR-1432:
-------------------------------

    Attachment: SOLR-1432.patch

Here's the essence of the patch that adds a simple/flexible untyped weighting scheme to ValueSource:

{code}
  /** Implementations should propagate createWeight to sub-ValueSources which can optionally
store
   * weight info in the context. The context object will be passed to getValues()
   * where this info can be retrieved. */
  public void createWeight(Map context, Searcher searcher) throws IOException {
  }
{code}

> FunctionQueries aren't correctly weighted
> -----------------------------------------
>
>                 Key: SOLR-1432
>                 URL: https://issues.apache.org/jira/browse/SOLR-1432
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-1432.patch
>
>
> Nested queries in function queries aren't weighted correctly with the proper Searcher,
and this is now even more serious with per-segment searching in Lucene/Solr.

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


Mime
View raw message