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

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

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)

Reply via email to