I've recently tested some Lucene querys from the documentation and somehow I can't get some of them to work. For example the regular expressions. I have a document with the field "artist" and the value "Queen" (Fieldtype = text). Somehow I can't get to write an expression which matches the value. I've tried the following queries without any luck:
PUT my_index/_doc/_bulk
{ "index":{} }
{"album":"A Day at the Races","artist":"Queen","release":1976}
{ "index":{} }
{"album":"Out of the Blue","artist":"Electric Light Orchestra","release":1977}
{ "index":{} }
{"album":"More of the Hard Stuff","artist":"The Dubliners","release":1967}
Querrys like album:* or album:"More of the Hard Stuff" seem to work.
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.