I need to perform *fuzzy search* for the whole search term. I
extended MultiFieldQueryParser and overridden getFieldQuery()


protected Query getFieldQuery(String field, String fieldText,boolean
quoted) throws ParseException{
           return *super.getFuzzyQuery(field,fieldText,3.0f);
//constructing fuzzy query*
}

For example, If i give search term as "(apple AND orange) OR (mango)", the
query should be expanded as "(apple~ AND orange~) OR (mango~)".

I need to search in multiple fields and also i need to implement this
without affecting any of the lucene features. Is there any other simple way?

Reply via email to