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

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

Because the sort order in a repository and the order in search engine will not 
match. For example, database column (jdbc connector) order and Solr sort field 
order. 
Also, Alfresco can have the properties which can have a blank, right? I 
customized cmis connector which crawled to Alfresco before, at that time I have 
to send a blank(currently cmis connector ignores empty string but I tweaked 
this) to Solr because the user wanted to look at present fields regardless of a 
blank or non blank. And the user wanted to sort by a present field because he 
didn't like the order which got changed by missing field.
IMO, in repository connector we have to control whether blank or not when 
putting RepositoryDocument. I can understand it is easy to control blank or 
null at HttpPoster, but it's not a proper place.

> 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