You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Soheb Mahmood (JIRA)" <ji...@apache.org> on 2010/12/14 22:12:05 UTC

[jira] Created: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

(SolrCloud) Allow users to query by multiple collections
--------------------------------------------------------

                 Key: SOLR-2287
                 URL: https://issues.apache.org/jira/browse/SOLR-2287
             Project: Solr
          Issue Type: Improvement
          Components: clients - java
            Reporter: Soheb Mahmood
            Priority: Minor


This code fixes the todo items mentioned on the SolrCloud wiki:
-optionally allow user to query by collection
-optionally allow user to query by multiple collections (assume schemas are compatible)

We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.

Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] Updated: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Soheb Mahmood updated SOLR-2287:
--------------------------------

    Component/s:     (was: clients - java)
                 SolrCloud

> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Priority: Minor
>         Attachments: SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] Updated: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Alex Cowell updated SOLR-2287:
------------------------------

    Attachment: SOLR-2287.patch

Added a test class which tests basic functionality for 3 collections but should be expanded upon.

> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Priority: Minor
>         Attachments: SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] Commented: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983780#action_12983780 ] 

Yonik Seeley commented on SOLR-2287:
------------------------------------

bq. Removed unnecessary XML solr config files from previous patch and added flixible code to the test class which will create custom config files for each specified collection.

Perhaps a more flexible alternative would be to create collections on the fly and not through config?
http://wiki.apache.org/solr/SolrCloud#Creating_cores_via_CoreAdmin

> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Priority: Minor
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] [Assigned] (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Mark Miller reassigned SOLR-2287:
---------------------------------

    Assignee: Mark Miller
    
> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-2287) SolrCloud - Allow users to query by multiple, compatible collections

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186344#comment-13186344 ] 

Mark Miller commented on SOLR-2287:
-----------------------------------

Okay, I have written a test for this by creating new collections on the fly and I cleaned up a bit and fixed a bug when you have the same shard names in different collections by creating a new shard key that is combined with the collection name. I've committed to the solrcloud branch.

Thanks again!
                
> SolrCloud - Allow users to query by multiple, compatible collections
> --------------------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2287) SolrCloud - Allow users to query by multiple, compatible collections

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

Mark Miller updated SOLR-2287:
------------------------------

    Summary: SolrCloud - Allow users to query by multiple, compatible collections  (was: (SolrCloud) Allow users to query by multiple collections)
    
> SolrCloud - Allow users to query by multiple, compatible collections
> --------------------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Alex Cowell updated SOLR-2287:
------------------------------

    Attachment: SOLR-2287.patch

Removed unnecessary XML solr config files from previous patch and added flixible code to the test class which will create custom config files for each specified collection.

Need to add code to remove them during teardown.

> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Priority: Minor
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] Updated: (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Soheb Mahmood updated SOLR-2287:
--------------------------------

    Attachment: SOLR-2287.patch

This patch contains the source code to allow users to query via multiple collections. It unfortunately does not come with any test cases.

> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Soheb Mahmood
>            Priority: Minor
>         Attachments: SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

-- 
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


[jira] [Commented] (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185816#comment-13185816 ] 

Mark Miller commented on SOLR-2287:
-----------------------------------

Thanks guys! Sorry for the long wait on this one - we should really get this in.
                
> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-2287) (SolrCloud) Allow users to query by multiple collections

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

Mark Miller updated SOLR-2287:
------------------------------

    Fix Version/s: 4.0
    
> (SolrCloud) Allow users to query by multiple collections
> --------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-2287) SolrCloud - Allow users to query by multiple, compatible collections

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

Mark Miller resolved SOLR-2287.
-------------------------------

    Resolution: Fixed

This is in trunk now - thanks again!
                
> SolrCloud - Allow users to query by multiple, compatible collections
> --------------------------------------------------------------------
>
>                 Key: SOLR-2287
>                 URL: https://issues.apache.org/jira/browse/SOLR-2287
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Soheb Mahmood
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2287.patch, SOLR-2287.patch, SOLR-2287.patch
>
>
> This code fixes the todo items mentioned on the SolrCloud wiki:
> -optionally allow user to query by collection
> -optionally allow user to query by multiple collections (assume schemas are compatible)
> We are going to put a patch to see if anyone has any trouble with this code and/or if there is any comments on how to improve this code.
> Unfortunately, as of now, we don't have a test class as we are working on it. We are sorry about this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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