Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Simon Willnauer
27;ve obviously seen (and fixed!) the issue already, >> > but for the record: https://issues.apache.org/jira/browse/LUCENE-4878 >> > >> > Adam >> > >> > -Original Message----- >> > From: Simon Willnauer [mailto:simon.willna...@gmail.com] >> &

Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Erick Erickson
ail.com] > > Sent: Sunday, March 24, 2013 9:28 AM > > To: java-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 i

Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Simon Willnauer
r > the record: https://issues.apache.org/jira/browse/LUCENE-4878 > > Adam > > -Original Message- > From: Simon Willnauer [mailto:simon.willna...@gmail.com] > Sent: Sunday, March 24, 2013 9:28 AM > To: java-user@lucene.apache.org > Subject: Re: Assert / NPE using Mult

RE: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Adam Rauch
-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,

Re: Assert / NPE using MultiFieldQueryParser

2013-03-24 Thread Simon Willnauer
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, Adam Rauch wrote: > I'm using MultiFieldQueryParser to parse search queri

Assert / NPE using MultiFieldQueryParser

2013-03-24 Thread Adam Rauch
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