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 "Sergey Dryganets (JIRA)" <ji...@apache.org> on 2007/07/15 22:59:04 UTC

[jira] Created: (SOLR-302) SolrIndexSearcher bug

SolrIndexSearcher bug
---------------------

                 Key: SOLR-302
                 URL: https://issues.apache.org/jira/browse/SOLR-302
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: Windows XP SP2 rus
jdk 1.6.0_u1
            Reporter: Sergey Dryganets


protected DocSet getDocSet(List<Query> queries) throws IOException {
    if (queries==null) return null;
    if (queries.size()==1) return getDocSet(queries.get(0));
                                                                                   ^^^^^^^^^^^ -- why you use only first sub query
Can you put results of all queryes into the Set?

than I create query  field_name:value1 value2 value3

i recive only documents with field_name== value1

Now i trying to filter results of the query  by id list

may be there are some another way to filter results by id's list? 


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


Re: [jira] Created: (SOLR-302) SolrIndexSearcher bug

Posted by Mike Klaas <mi...@gmail.com>.
On 15-Jul-07, at 1:59 PM, Sergey Dryganets (JIRA) wrote:
>

> than I create query  field_name:value1 value2 value3
>
> i recive only documents with field_name== value1
>
> Now i trying to filter results of the query  by id list
>
> may be there are some another way to filter results by id's list?

Note that the above query has three clauses

field_name:value1 <default search field>:value2 <default>:value3

is this perhaps what you are looking for?

field_name:(value1 value2 value3)

-Mike

[jira] Resolved: (SOLR-302) SolrIndexSearcher bug

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-302.
-------------------------------

    Resolution: Invalid

> why you use only first sub query
Because there is only one sub query... notice the queries.size()==1
Are you actually experiencing an error somewhere?  If so please provide an example/test.

Closing this bug.

> SolrIndexSearcher bug
> ---------------------
>
>                 Key: SOLR-302
>                 URL: https://issues.apache.org/jira/browse/SOLR-302
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Windows XP SP2 rus
> jdk 1.6.0_u1
>            Reporter: Sergey Dryganets
>
> protected DocSet getDocSet(List<Query> queries) throws IOException {
>     if (queries==null) return null;
>     if (queries.size()==1) return getDocSet(queries.get(0));
>                                                                                    ^^^^^^^^^^^ -- why you use only first sub query
> Can you put results of all queryes into the Set?
> than I create query  field_name:value1 value2 value3
> i recive only documents with field_name== value1
> Now i trying to filter results of the query  by id list
> may be there are some another way to filter results by id's list? 

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