External file field name containing whitespace not supported
------------------------------------------------------------

                 Key: SOLR-2335
                 URL: https://issues.apache.org/jira/browse/SOLR-2335
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Miriam Doelle
            Priority: Minor


We use an external file field configured as dynamic field. The dynamic field 
name (and so the name of the provided file) may contain spaces. But currently 
it is not possible to query for such fields. The following query results in a 
ParseException:
q=_val_:(experience_foo\ bar)

org.apache.lucene.queryParser.ParseException: Cannot parse 
'_val_:(experience_foo\ bar)': Expected ',' at position 15 in 'experience_foo 
bar'

We use following configuration for the externalFileField:
  <types>
    ...
    <fieldType name="experienceRankFile" keyField="id" defVal="0" 
stored="false" indexed="false" class="solr.ExternalFileField"
                 valType="float"/>
  </types>
  <fields>
    <dynamicField name="experience_*" type="experienceRankFile" />
    ...
  </field>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to