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] [Comment Edited] (CONNECTORS-1066) Don't send empty fields to Solr
Date Thu, 09 Oct 2014 03:55:34 GMT

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

Shinichiro Abe edited comment on CONNECTORS-1066 at 10/9/14 3:54 AM:
---------------------------------------------------------------------

Solr DIH ignores null but does not ignore blank unless we use Transformers or RemoveBlankFieldUpdateProcessor.

http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java?view=markup#l675
By above spec, I thought blank treatment was responsible for a user(i.e modify SQL or add
custom Transformer for blank), so I said "It is wrong to put blank to RepositoryDocument in
repository connector". I don't mind to make the checkbox default to being checked if this
is a new MCF 2.0 feature.


was (Author: shinichiro abe):
Solr DIH ignores null but does not ignore blank unless we don't use Transformers or RemoveBlankFieldUpdateProcessor.

http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DocBuilder.java?view=markup#l675
By above spec, I thought blank treatment was responsible for a user(i.e modify SQL or add
custom Transformer for blank), so I said "It is wrong to put blank to RepositoryDocument in
repository connector". I don't mind to make the checkbox default to being checked if this
is a new MCF 2.0 feature.

> 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