lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miriam Doelle (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2335) External file field name containing whitespace not supported
Date Mon, 24 Jan 2011 14:50:43 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message