lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Approval required: Balu commented on
Date Thu, 16 Nov 2017 19:23:15 GMT
    Balu has commented on

    You can find the comment here:
    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:
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...

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>(

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
    To stop receiving these emails, unsubscribe from the mailing list that is providing these

View raw message