Hi,
I just stumbled across an issue with Lucene's QueryParser. Perhaps you already
discussed this here, but googling for it didn't bring me to a solution.
I realized that lucene is obviously not able to exclude fields, right? E.g.
something like
-url:com
always delivers 0 results. Is this beh
> I realized that lucene is obviously not able to exclude fields, right? E.g.
> something like
>
> -url:com
>
> always delivers 0 results. Is this behaviour deliberate? Is there any
> rationale
> for it?
Ok, RTFM... :-)
http://lucene.apache.org/java/docs/queryparsersyntax.html
says that one
Components: QueryParser
Affects Versions: 2.1
Environment: not important
Reporter: Oliver Hummel
Fix For: 2.1
In MultiFieldQueryParser the two methods
protected Query getFuzzyQuery(String field, String termStr, float
minSimilarity) throws ParseException