Having some search issues with using the "Name" field on items ("_name") I'd like to map it to another field that I can search on without having to create a custom computed field to do the mapping.

So for example I'm looking for something like this:

 <field fieldName="_untokenizedname" mappedFrom="_name" indexType="UNTOKENIZED" />

THIS IS FOR LUCENE NOT SOLR as SOLR has copyField and Lucene does not.

1 Answer 1


You can try by copying the field from "name" to a new field


This might help.

(edit:trailing character removed from url)

  • this only applies for Solr not lucene.
    – Adam Hess
    Commented Jan 31, 2020 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.