I've been hitting my head against a wall all morning trying to figure this out and haven't managed to get anywhere and wondered if anybody here can help.

I have defined a field type

<fieldType name="text_au" class="solr.TextField" positionIncrementGap="100">
     <analyzer>
       <tokenizer class="solr.LowerCaseTokenizerFactory" />
     </analyzer>
   </fieldType>

I have two fields

<field name="au" type="text_au" indexed="true" stored="true" required="false" multiValued="true"/> <field name="author" type="text_au" indexed="true" stored="false" multiValued="true"/>

and a copyField line

<copyField source="au" dest="author" />

The idea is to allow searching for authors so a search for "author:(Hobbs A.U.)" will match the au field value "Hobbs A. U." (notice the space).

However the query "au:(Hobbs A.U.)" matches and the the query "author:(Hobbs A.U.)" does not.

Any ideas?

I'm using a Solr 1.4 snapshot

Regards

James


Reply via email to