0

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.

0

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

https://lucene.apache.org/solr/guide/6_6/copying-fields.html

This might help.

(edit:trailing character removed from url)

| improve this answer | |
  • this only applies for Solr not lucene. – Adam Hess Jan 31 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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