Hi, Anyone knows how to make a case insensitive search using a FuzzyQuery?
I want that the results coming from "PP-Trip SubAlcance Seq Negativa",
"pp-trip subAlcance seq negativa" and "PP-TRIP SUBALCANCE SEQ NEGATIVA" be
the same. The field must be indexed by "PP-Trip SubAlcance Seq Negativa".
My code:
Query query = new FuzzyQuery( new Term( field, input ) , similarity );
Hits hits = indexSearcher.search(query);
I really appreciate any help!
Thanks in advance,
Eloi
