First of all, you should avoid to use leading wildcards in a query for
performance reasons.
Second, how is the Identifier field analyzed? Make sure it is not
analyzed, or you would need to analyzed the wildcard query, which is
also not recommended.
Is leading wildcards enabled by default in Elasticsearch? It is not in Lucene.
Second, how is the Identifier field analyzed? Make sure it is not
analyzed, or you would need to analyzed the wildcard query, which is
also not recommended.
Is leading wildcards enabled by default in Elasticsearch? It is not in Lucene.
True, sometimes leading wildcard searchers are unavoidable, but I tend
to use them in diagnostic queries and not a query that is meant to be
executed several times. Or use ngrams.
Query string queries with wildcards are not analyzed. You can set
analyze_wildcard:true, but I am not sure if it is possible via a
search url.
However, your fields are not in English (or any other language), so it
makes sense to not have them analyzed and to use a WildcardQuery.
Second, how is the Identifier field analyzed? Make sure it is not
analyzed, or you would need to analyzed the wildcard query, which is
also not recommended.
Is leading wildcards enabled by default in Elasticsearch? It is not in Lucene.
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.