You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ben <ne...@gmail.com> on 2005/02/19 15:26:54 UTC

MultiFieldQueryParser 1.8 isn't parsing phrases

Hi

When I try to search for phrases using the MultiFieldQueryParser v1.8
from CVS, it gives me NullPointerException.

Using the following keyword works:

title:"IBM backs linux"

However, it gives me the exception if I use the following keyword:

"IBM backs linux"

Any idea why? I am using this MultiFieldQueryParser with Lucene 1.4.3.
Of course I changed some of the boolean stuff to make it works with
the production release.

Thanks,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: MultiFieldQueryParser 1.8 isn't parsing phrases

Posted by Ben <ne...@gmail.com>.
Thanks


On Sat, 19 Feb 2005 16:09:49 +0100, Daniel Naber
<da...@t-online.de> wrote:
> On Saturday 19 February 2005 15:26, Ben wrote:
> 
> > When I try to search for phrases using the MultiFieldQueryParser v1.8
> > from CVS, it gives me NullPointerException.
> 
> This has just been fixed in SVN (I assume you mean SVN, CVS still exists
> but is read only and probably not updated anymore).
> 
> Regards
>  Daniel
> 
> --
> http://www.danielnaber.de
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: MultiFieldQueryParser 1.8 isn't parsing phrases

Posted by Daniel Naber <da...@t-online.de>.
On Saturday 19 February 2005 15:26, Ben wrote:

> When I try to search for phrases using the MultiFieldQueryParser v1.8
> from CVS, it gives me NullPointerException.

This has just been fixed in SVN (I assume you mean SVN, CVS still exists 
but is read only and probably not updated anymore).

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org