I'm getting the parse exception error "Cannot parse 'XMT01/195077567': Lexical error at line 1, column 18. Encountered: after : "/195077567".
I've google-it and found out this to be reported previously and suggested by many that one must escape the slash. But this doesn't work for me. If I query for "XMT01\\/195077567" then I get back all the document which innerId field starts with 'XMT01' and that's not right. I need only one document with that exact value.
Furthermore, I need to use the query_string because of all this is nested in a watcher with chain input. The first search gets all the documents that satisfy search criteria, then a lookup extracts all the values that would be used for querying in the next search and put them in a HashSet and finally, the last search is using the above query string for getting the related documents. Obviously, there can be more than one document that we are searching the matching document for.
Here is the simplified code extracted for my watcher:
It's querying an alias. We have a hot-warm architecture that is an ILM (index life-cycle policy), and yes the field is mapped same as there is a template involved.
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.