michael boom created SOLR-5635:
----------------------------------
Summary: 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
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.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]