lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <no-re...@comments.apache.org>
Subject Approval required: Balu commented on https://lucene.apache.org/solr/guide/6_6/learning-to-rank.html
Date Thu, 16 Nov 2017 19:23:15 GMT
Hello,
    Balu has commented on https://lucene.apache.org/solr/guide/6_6/learning-to-rank.html.

    You can find the comment here:
    https://lucene.apache.org/solr/guide/6_6/learning-to-rank.html#comment_7149
    Please note that if the comment contains a hyperlink, it must be approved
    before it is shown on the site.

    Below is the reply that was posted:
    ~~~~
    Hello,
LTR plug-in throwing null reference exception when the number of fields are not consistent
in response documents.

Ex: I have 3 fields (title, subTitle, publicationDate) in my feature store.
Sample query...
http://localhost:8983/solr/precos/query?q=surgery&fl=[features%20efi.query=surgery]

I can see the response only when solr response is consistent for all documents. Meaning, all
documents should have same number of fields in response.

we have no subTitle data for all our documents, this results only 2 fields returned for few
documents. Plugin throwing null reference error on these documents.

java.lang.NullPointerException\r\n\tat org.apache.solr.ltr.feature.FieldLengthFeature$FieldLengthFeatureWeight$FieldLengthFeatureScorer.<init>(FieldLengthFeature.java:134)

Did anyone using this plug-in in production?
    ~~~~

    With regards,
    Apache Solr Reference Guide.

    You are receiving this email because you have subscribed to changes for the solr-refguide
site.
    To stop receiving these emails, unsubscribe from the mailing list that is providing these
notifications.
	    

Mime
View raw message