manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinichiro Abe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1066) Don't send empty fields to Solr
Date Wed, 08 Oct 2014 16:07:34 GMT

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

Shinichiro Abe commented on CONNECTORS-1066:
--------------------------------------------

bq.( that allow you to configure sortMissingLast=true or sortMissingStart=true) 

Yes, by sortMissingFirst=true, missing field will come first.
But I want to distinguish between blank and null.

bq.In your usecase you wanted to show all the fields for a document, also the null ones ?
I wanted to show all the fields for a document with blank and non blank, I wanted not to show
null.
For example, q=foo AND bar:* -> I want documents with blank and non blank in bar field.
q=foo AND !bar:* -> I want documents with null in bar field, not include fields with blank.

Probably my usecase is special, a blank and a null are interpreted respectively.

bq.but default to remove blank fields
I don't agree. It is wrong to put blank to RepositoryDocument in repository connector.



> Don't send empty fields to Solr
> -------------------------------
>
>                 Key: CONNECTORS-1066
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1066
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Lucene/SOLR connector
>    Affects Versions: Manifold 1.7.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>              Labels: solr
>             Fix For: ManifoldCF 2.0
>
>         Attachments: CONNECTORS-1066.patch
>
>
> Don't transmit empty fields to Solr.



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

Mime
View raw message