You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2011/01/07 17:28:46 UTC

[jira] Closed: (LUCENE-2850) FuzzyQuery doesnt support Stopwords

     [ https://issues.apache.org/jira/browse/LUCENE-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter closed LUCENE-2850.
-------------------------

    Resolution: Not A Problem

Hi,
it seems to be a problem in solr (i think so). I opened a solr issue (SOLR-2309).

Regards,
Peter

> FuzzyQuery doesnt support Stopwords
> -----------------------------------
>
>                 Key: LUCENE-2850
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2850
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: QueryParser
>    Affects Versions: 3.0.4
>         Environment: lucene version 3.x, hudson build #213 (16.12.2010 23:03:54) 
> solr version 3.x, hudson build #198 (16.12.2010 05:36:57) 
>            Reporter: Peter
>
> Stopword doesnt works if i use a fuzzy query.
> Working Example:
>     -stopword: Gmbh
>     -request: {!edismax qf=name}xyz^100 Gmbh^100
>     -Parsed Query: +DisjunctionMaxQuery((name:xyz)^100.0)
> Failure:
>     -stopword: Gmbh
>     -request: {!edismax qf=name}xyz~0.5^100 Gmbh~0.5^100
>     -Parsed Query: +((DisjunctionMaxQuery((name:xyz~0.5)^100.0) DisjunctionMaxQuery((name:Gmbh~0.5)^100.0))~2)
> For me it seems to be a problem with getFuzzyQuery(field, termImage, fms) in  QueryParser.java:1419. 
> The getFieldQuery method call returns null if i have a stopword. But getFuzzyQuery returns a DisjunctionMaxQuery.
> But its my first project with lucene/solr... therefore my understanding can be wrong.
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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