You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/07/17 01:40:14 UTC

[jira] Resolved: (SOLR-1271) Stopwords search with function query(_val_) in Solr

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

Hoss Man resolved SOLR-1271.
----------------------------

    Resolution: Invalid

1) There's no bug here...

* the query parser ignores the stopwords completely when parsing, so your first example produces an empty query, which doesn't match anything
* function queries match all docs with varying scores (based on the function), so your second example produces a query that matches everything.

2) in the future, if you are getting behavior that doesn't make sense (but doens't produce an actual error message), please post a question to solr-user describing what you are trying to do and the behavior you are seeing before filing a bug in Jira.

> Stopwords search with function query(_val_) in Solr
> ---------------------------------------------------
>
>                 Key: SOLR-1271
>                 URL: https://issues.apache.org/jira/browse/SOLR-1271
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.3
>            Reporter: arvind
>
> Consider the following cases :
> q=stopword1+stopword2 gives no results which is correct
> Now, if we modify the above query to use function query like,
> q=stopword1+stopword2 _val_:"rord(field)"  then Solr gives some results but, ideally it should not
> Can anybody please have a look at this issue?

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