You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2017/05/20 00:54:04 UTC

[jira] [Resolved] (SOLR-5635) Payloads malfunctioning in basic use case

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

Erik Hatcher resolved SOLR-5635.
--------------------------------
    Resolution: Fixed

closing this one as SOLR-1485 covers it, I think.

> Payloads malfunctioning in basic use case
> -----------------------------------------
>
>                 Key: SOLR-5635
>                 URL: https://issues.apache.org/jira/browse/SOLR-5635
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.6
>            Reporter: michael boom
>            Assignee: Erik Hatcher
>
> This issue is also discussed on the mailing list:
> http://lucene.472066.n3.nabble.com/Simple-payloads-example-not-working-td4110998.html
> It proved that for a term search, all documents would have the same score, equal to the payload value of the first document:
> - http://localhost:8983/solr/collection1/pds-search?q=payloads:testone&wt=json&indent=true&debugQuery=true
>  with result: https://gist.github.com/maephisto/8433641
> I tried building a simple payloads example using the stock Solr/Lucene 4.6.0. I created a custom similarity and a custom query parser - built my plugin and tested it out.
> collection1 schema.xml changes: https://gist.github.com/maephisto/8433537
> collection1 sorlconfig.xml changes: https://gist.github.com/maephisto/8433550
> custom similarity: https://gist.github.com/maephisto/8433263
> custom query parser: https://gist.github.com/maephisto/8433217
> documents added: https://gist.github.com/maephisto/8433719
> I tested it with Solr/Lucene4.6.0 stock example. The plugin was built using NetBeans.
> I used gists inside the ticket in order to keep the description shorter.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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