Can I ask your recommendation on what query should I use for google-like search on documents. Also I need support for special characters. Whenever we use or if special characters are included, our query doesn't return expected results. Also we are querying across multiple fields (text & keyword field mapping)
can you be more specific what a google like search is? Do you have some examples including the expected behaviour? A google like search can be interpreted very differently by different people.
Also, please include examples if a search is not working as expected along with documents being indexed, otherwise helping will be really hard.
Last but not least, if you expect some more out of the box features, you might want to take a look at App Search - which you can also run for free or use a hosted solution.
so just in those three requests there a ton of requirements are hidden. I.e. partial matching and splitting on certain characters.
I highly encourage you to the definitive guide and its chapter Search in depth, despite being a bit older it's still a great resource about the fundamentals of search.
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.