lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Fuzzy Phrase
Date Mon, 27 Sep 2010 16:42:20 GMT

> I want to
> use just one string like -- head:"hello~ world"~3 AND
> contents:"colorless~
> green~ ideas~".
> 
> When I this string query within ComplexPhraseQuery, I get
> the exception:
>  -- ParseException: Cannot parse 'hello~ world': Cannot
> have clause for
> field "content" nested in phrase  for field "head"
> 
> But, If I use -- head:hello AND head:world AND
> contents:"colorless~ green~
> ideas~" -- no errors occurred.


Actually there is solution/patch for that problem.

https://issues.apache.org/jira/secure/attachment/12414443/Lucene-1486+non+default+field.patch


      

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


Mime
View raw message