-user@lucene.apache.org
Subject: Re: Assert / NPE using MultiFieldQueryParser
Hey,
this is in-fact a bug in the MultiFieldQueryParser, can you open a ticket for
this please in our bugtracker?
MultifieldQueryParser should override getRegexpQuery but it doesn't
simon
On Sun, Mar 24, 2013 at 3:57 PM,
I'm using MultiFieldQueryParser to parse search queries. I find that
certain query strings (e.g., "/study/" without the quotes) cause
MultiFieldQueryParser.parse() to throw an AssertionError, if asserts are
enabled. In production, parse() returns a Query, but it seems to be
corrupt. using it to s
The FieldType section of the 4.0 migration guide
(http://lucene.apache.org/core/4_0_0/MIGRATE.html) states:
If you did this before (value can be String or Reader):
new Field("field", value, Field.Store.NO, Field.Indexed.ANALYZED)
you can now do this:
new TextField("field", value)
But 4.0 ha