Our search is working great until it come's to punctuation. If you don't use the punctuation that we have in our data, you will get zero results. For example, in our data we have "Corinna's Cause", so if you were to search that exactly (with the apostrophe) you will get good relevant results. However, if you search without the apostrophe "Corinnas Cause" you will receive zero results. What do we need to do to get around this?
Here is a query sample for the Corinna's Cause search: localhost:9200/ab/_search?q=Title:corrina's cause*&size=500
The title field (book title) is mapped to our alias field that is used to find search keywords. After searching for the keyword in the title field we search in these fields respectively - Author, EAN, ISBN and publisher.
Sorry for late response, Christmas got in the way!
No it doesn't work if I search "Corinna Cause". It has to be exactly the same as our data, so it will only work when I search with the correct punctuation. If I were to search "Cause Joanna" however it would work. It will identify "cause" in our title field and "Joanna" in our author field and show the result. If I search "corinna joanna" you get nothing. The punctuation is causing the problem with the search results. Ideally we need "Corinna's Cause" to be equal to "Corinnas Cause" but you say this can't be done without a special analyzer? What do you mean by this please?
What I understand is that your query is applied to the field "Title" of documents "items" and "item" in your index "ab". Those fields seems to be only a String, and no specific analyer seems to be applied.
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.