Created overrides for the Lucene query methods - fixes the broken parses for FieldMappingQueryParser
Added a constructor override to FieldMappingQueryParser to allow injection of a default search field
Added a method override CreateQueryParser(string defaultField) on LuceneDataProvider
Obsoleted DefaultSearchProperty
Obsoleted the FieldMappingQueryParser constructor without a default field
Not sure what approach you'd want to take to resolving the broken queries, this should cover most cases.
I missed a few test cases in my initial PR - somehow skipped over the fact that this issue affects all queries and not just queries where DefaultSearchProperty is set.
Not sure what approach you'd want to take to resolving the broken queries, this should cover most cases.
I missed a few test cases in my initial PR - somehow skipped over the fact that this issue affects all queries and not just queries where DefaultSearchProperty is set.