[ 
https://issues.apache.org/jira/browse/SOLR-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845656#action_12845656
 ] 

Lance Norskog commented on SOLR-1803:
-------------------------------------

Actually the problem is that the effect of combining params and generated 
values is not defined well. I suggest that the semantics should be, "a param is 
treated exactly like a generated field".

Under this theory, these are the test cases:

literal.single_s=abc and no generated single_s data:
    <str name="single_s">abc</str>

literal.single_s=abc and generated data "def":
    <str name="single_s">abc def</str>

literal.multi_s=abc and generated data "def":
    <arr name="multi_s">
      <str>abc</str>
      <str>def</str>
    </arr>

Is this a coherent and useful semantics? 

> ExtractingRequestHandler does not propagate multiple values to a multi-valued 
> field
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1803
>                 URL: https://issues.apache.org/jira/browse/SOLR-1803
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction)
>            Reporter: Lance Norskog
>            Priority: Minor
>         Attachments: display-extracting-bug.patch
>
>
> When multiple values for one field are extracted from a document, only the 
> last value is stored in the document. If one or more values are given as 
> parameters, those values are all stored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to