Hello,
I'm stack with simple problem, and I'm asking for a suggestion:
I have documents indexed which have number of fields, but I need to
make a simple term search by 3 of them. I need fieldA be the most
important field, and fieldB and fieldC less.
So I've mapped them with specific boost parameter:
As you see, I have custom analyzer for fields B and C, which doesn't
tokenize the values during indexing. I need it like this for another
types of searches.
So, should I just create a copy of those fields without the custom
analyzer (and if so, does ES has something like Solr copyField?), or
there is some better way to do this?
Hello,
I'm stack with simple problem, and I'm asking for a suggestion:
I have documents indexed which have number of fields, but I need to
make a simple term search by 3 of them. I need fieldA be the most
important field, and fieldB and fieldC less.
So I've mapped them with specific boost parameter:
As you see, I have custom analyzer for fields B and C, which doesn't
tokenize the values during indexing. I need it like this for another
types of searches.
So, should I just create a copy of those fields without the custom
analyzer (and if so, does ES has something like Solr copyField?), or
there is some better way to do this?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.