I want to create a custom analyzer which generates tokens so that in each token, one pair of adjacent words are concatenated while preserving rest of the query string.
Example Query : "quick brown fox jumps"
Generated tokens: "quickbrown fox jumps", "quick brownfox jumps", "quick brown foxjumps"
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.