lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akiel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8664) Export Score
Date Tue, 09 Feb 2016 09:30:18 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138620#comment-15138620
] 

Akiel commented on SOLR-8664:
-----------------------------

I created this issue in response to Joel Bernstein answer in the solr-user mailing group.
Below is a copy of my original question and Joel's answer to help give some context:

Exporting scores would be a great feature to have. I don't believe it will
add too much complexity to export and sort by score. The main consideration
has been memory consumption for every large export sets. The export feature
powers SQL queries that are unlimited in Solr 6. So adding scores to export
would support queries like:

select id, title, score from tableX where a = '(a query)'

Where currently you can only do this:

select id, title, score from tableX where a = '(a query)' limit 1000

Can you create a jira for this and link it to SOLR-8125.

Joel Bernstein

> Hi,
>
> I would like to issue a query and get the ID and Score for each matching
> document. There may be lots of results so I wanted to use the export
> handler, but unfortunately the current version of Solr doesn't seem to
> export the Score - I read the comments on
> https://issues.apache.org/jira/browse/SOLR-5244 (Exporting Full Sorted
> Result Sets) but am not sure what happened with the idea of exporting the
> Score. Does anybody know of an existing or future version where this can
> be done?
>
> I compared exporting 100,000 IDs via the export handler with getting
> 100,000 ID,Score pairs using the cursor mark - exporting 100,000 IDs was
> an order of magnitude faster on my laptop. Does anybody know of a faster
> way to retrieve the ID,Score pairs for a query on a SolrScloud deployment
> and/or have an idea on the possible performance characteristics of
> exporting ID, Score (without ranking) if it was to be implemented?
>
> Cheers
>
> Akiel

> Export Score
> ------------
>
>                 Key: SOLR-8664
>                 URL: https://issues.apache.org/jira/browse/SOLR-8664
>             Project: Solr
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 6.0
>            Reporter: Akiel
>
> Would be great if we can export the score as well as the ID from a (SolrCloud) Stream.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message