RE: Using Multiple collections with streaming expressions

2020-11-12 Thread ufuk yılmaz
Many thanks for the info Joel --ufuk Sent from Mail for Windows 10 From: Joel Bernstein Sent: 12 November 2020 17:00 To: solr-user@lucene.apache.org Subject: Re: Using Multiple collections with streaming expressions T

Re: Using Multiple collections with streaming expressions

2020-11-12 Thread Joel Bernstein
ain Erick, that’s a good idea! > > Alternatively, I use an alias covering multiple collections in these > situations, but there may be too many combinations of collections, so it’s > not always suitable. > > Merged significantTerms streams will have meaningles scores in tuples I

RE: Using Multiple collections with streaming expressions

2020-11-10 Thread ufuk yılmaz
Thanks again Erick, that’s a good idea! Alternatively, I use an alias covering multiple collections in these situations, but there may be too many combinations of collections, so it’s not always suitable. Merged significantTerms streams will have meaningles scores in tuples I think, it would

Re: Using Multiple collections with streaming expressions

2020-11-10 Thread Erick Erickson
limit="50", > minDocFreq="10", > maxDocFreq=".20", > minTermLength="5") > > Solr supports querying multiple collections at once, but I can’t figure out > how I can do that with str

Using Multiple collections with streaming expressions

2020-11-09 Thread ufuk yılmaz
;, minDocFreq="10", maxDocFreq=".20", minTermLength="5") Solr supports querying multiple collections at once, but I can’t figure out how I can do that with streaming expressions. When I try enclosing them

fetch streaming expression multiple collections problem

2020-09-24 Thread uyilmaz
Hello all, When I try to use the "select" streaming expression with multiple collections it works without any problems, like: search( "collection1,collection2", q="*:*", fl="field1,field2", qt="/export", sort="field

Re: Multiple Collections in a Alias.

2020-08-12 Thread Aroop Ganguly
There may be other ways, easiest way is to write a script that gets the cluster status, and for each collection per replica you will have these details: "collections":{ “collection1":{ "pullReplicas":"0", "replicationFactor":"1", "shards":{ "shard1":{

Re: Multiple Collections in a Alias.

2020-08-12 Thread Aroop Ganguly
Glad u nailed the out of sync one :) > On Aug 12, 2020, at 4:38 PM, Jae Joo wrote: > > I found it the root cause. I have 3 collections assigned to a alias and one > of them are NOT synched. > By the alias. > > > > > > > > > > > > Collection 1 > > > > > > > > > > > > Collec

Re: Multiple Collections in a Alias.

2020-08-12 Thread Jae Joo
I found it the root cause. I have 3 collections assigned to a alias and one of them are NOT synched. By the alias. Collection 1 Collection 2 Collection 3 On Wed, Aug 12, 2020 at 7:29 PM Jae Joo wrote: > Good question. How can I validate if the replicas

Re: Multiple Collections in a Alias.

2020-08-12 Thread Walter Underwood
Different absolute scores from different collections are OK, because the exact values depend on the number of deleted documents. For the set of documents that are in different orders from different collections, are the scores of that set identical? If they are, then it is normal to have a differen

Re: Multiple Collections in a Alias.

2020-08-12 Thread Jae Joo
Good question. How can I validate if the replicas are all synched? On Wed, Aug 12, 2020 at 7:28 PM Jae Joo wrote: > numFound is same but different score. > > > > > > > > > On Wed, Aug 12, 2020 at 6:01 PM Aroop Ganguly > wrote: > >> Try a simple test of querying each collection 5 times

Re: Multiple Collections in a Alias.

2020-08-12 Thread Jae Joo
numFound is same but different score. On Wed, Aug 12, 2020 at 6:01 PM Aroop Ganguly wrote: > Try a simple test of querying each collection 5 times in a row, if the > numFound are different for a single collection within tase 5 calls then u > have it. > Please try it, what you may think i

Re: Multiple Collections in a Alias.

2020-08-12 Thread Aroop Ganguly
Try a simple test of querying each collection 5 times in a row, if the numFound are different for a single collection within tase 5 calls then u have it. Please try it, what you may think is sync’d may actually not be. How do you validate correct sync ? > On Aug 12, 2020, at 10:55 AM, Jae Joo w

Re: Multiple Collections in a Alias.

2020-08-12 Thread Walter Underwood
Are the scores the same for the documents that are ordered differently? wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Aug 12, 2020, at 10:55 AM, Jae Joo wrote: > > The replications are all synched and there are no updates while I was > testing. >

Re: Multiple Collections in a Alias.

2020-08-12 Thread Jae Joo
The replications are all synched and there are no updates while I was testing. On Wed, Aug 12, 2020 at 1:49 PM Aroop Ganguly wrote: > Most likely you have 1 or more collections behind the alias that have > replicas out of sync :) > > Try querying each collection to find the one out of sync. > >

Re: Multiple Collections in a Alias.

2020-08-12 Thread Aroop Ganguly
Most likely you have 1 or more collections behind the alias that have replicas out of sync :) Try querying each collection to find the one out of sync. > On Aug 12, 2020, at 10:47 AM, Jae Joo wrote: > > I have 10 collections in single alias and having different result sets for > every time wi

Multiple Collections in a Alias.

2020-08-12 Thread Jae Joo
I have 10 collections in single alias and having different result sets for every time with the same query. Is it as designed or do I miss something? The configuration and schema for all 10 collections are identical. Thanks, Jae

Re: Reload synonyms without reloading the multiple collections

2018-12-30 Thread Simón de Frosterus Pokrzywnicki
Sorry, I see that it may have been confusing. My webapp calls the reload of all the affected Collections (about a dozen of them) in sequential mode using the Collections API. Ideally I would be able to write some QueryTimeSynonymFilterFactory that would periodically or when told, reload the synon

Re: Reload synonyms without reloading the multiple collections

2018-12-29 Thread Shawn Heisey
On 12/29/2018 5:55 AM, Simón de Frosterus Pokrzywnicki wrote: The problem is that when the user changes the synonyms, it automatically triggers a sequential reload of all the Collections. What exactly is being done when you say "the user changes the synonyms"?  Just uploading a new synonyms de

Reload synonyms without reloading the multiple collections

2018-12-29 Thread Simón de Frosterus Pokrzywnicki
Hello, I have a solrcloud setup with multiple Collections based on the same configset. One of the features I have is that the user can define their own synonyms in order to improve their search experience which has worked fine until recently. Lately the platform has grown and the user has

Re: Query to multiple collections

2018-10-25 Thread Atita Arora
, > Rohan Kasat > > > On Mon, Oct 22, 2018 at 4:49 PM Shawn Heisey wrote: > > > On 10/22/2018 1:26 PM, Chris Ulicny wrote: > > > There weren't any particular problems we ran into since the client that > > > makes the queries to multiple collections previously

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
nce the client that > > makes the queries to multiple collections previously would query multiple > > cores using the 'shards' parameter before we moved to solrcloud. We > didn't > > have any complicated sorting or scoring requirements fortunately. > > > >

Re: Query to multiple collections

2018-10-22 Thread Shawn Heisey
On 10/22/2018 1:26 PM, Chris Ulicny wrote: There weren't any particular problems we ran into since the client that makes the queries to multiple collections previously would query multiple cores using the 'shards' parameter before we moved to solrcloud. We didn't have any co

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
Thanks Chris. This help. Regards, Rohan On Mon, Oct 22, 2018 at 12:26 PM Chris Ulicny wrote: > There weren't any particular problems we ran into since the client that > makes the queries to multiple collections previously would query multiple > cores using the 'shards&#

Re: Query to multiple collections

2018-10-22 Thread Chris Ulicny
There weren't any particular problems we ran into since the client that makes the queries to multiple collections previously would query multiple cores using the 'shards' parameter before we moved to solrcloud. We didn't have any complicated sorting or scoring requirements f

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
Alex. > On Mon, 22 Oct 2018 at 13:49, Rohan Kasat wrote: > > > > Hi All , > > > > I have a SolrCloud setup with multiple collections. > > I have created say - two collections here as the data source for the > both > > collections are different and h

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
ht work for your use case, but you might need to tread > carefully depending on your requirements for the returned results. Sorting > and duplicate unique keys come to mind. > > Best, > Chris > > On Mon, Oct 22, 2018 at 1:49 PM Rohan Kasat wrote: > > > Hi All , > >

Re: Query to multiple collections

2018-10-22 Thread Alexandre Rafalovitch
13:49, Rohan Kasat wrote: > > Hi All , > > I have a SolrCloud setup with multiple collections. > I have created say - two collections here as the data source for the both > collections are different and hence wanted to store them differently. > There is a use case , where i n

Re: Query to multiple collections

2018-10-22 Thread Chris Ulicny
; > I have a SolrCloud setup with multiple collections. > I have created say - two collections here as the data source for the both > collections are different and hence wanted to store them differently. > There is a use case , where i need to query both the collections and show &g

Query to multiple collections

2018-10-22 Thread Rohan Kasat
Hi All , I have a SolrCloud setup with multiple collections. I have created say - two collections here as the data source for the both collections are different and hence wanted to store them differently. There is a use case , where i need to query both the collections and show unified search

Re: Multiple collections for a write-alias

2017-11-13 Thread S G
rying the DB to find live-traffic documents has its own problems and is taxing on the DB again. Dual writes to Solr's multiple collections directly is the simplest to implement for a client and that is exactly what this new feature could be. With a dual-write-collection-alias, it becomes eas

Re: Multiple collections for a write-alias

2017-11-10 Thread Emir Arnautović
tion aliasing can support this. > > Proposal: > If can enhance the write alias to point to multiple collections such that > any update to the alias is written to all the collections it points to, it > would help the client to avoid dual writes and also issue just a single > http c

Re: Multiple collections for a write-alias

2017-11-09 Thread Shawn Heisey
ores, and resume normal operation. Doing it this way, I do not need to worry about the normal indexing cycle handling writes to both the old index and the new index -- the ongoing cycle just updates the current live cores. > Proposal: > If can enhance the write alias to point to multiple collect

Re: Multiple collections for a write-alias

2017-11-09 Thread Erick Erickson
Aliases can already point to multiple collections, have you just tried that? I'm not totally sure what the behavior would be, but nothing you've written indicates you tried so I thought I'd point it out. It's not clear to me how useful this is though, or what failure messa

Multiple collections for a write-alias

2017-11-09 Thread S G
- consistency problem) and it would be a real welcome addition if collection aliasing can support this. Proposal: If can enhance the write alias to point to multiple collections such that any update to the alias is written to all the collections it points to, it would help the client to avoid dual

Re: Multiple collections vs multiple shards for multitenancy

2017-05-07 Thread Chris Troullis
ns > >> where that's true, but it comes at a cost. Users may be better served > >> by a predictable but fast system than one that's fast but > >> unpredictable. "Documents may take up to 5 minutes to appear and > >> searches will usually take

Re: Multiple collections vs multiple shards for multitenancy

2017-05-06 Thread Erick Erickson
AM, Chris Troullis >> wrote: >> > Hi, >> > >> > I use Solr to serve multiple tenants and currently all tenant's data >> > resides in one large collection, and queries have a tenant identifier. >> This >> > works fine with aggressive au

Re: Multiple collections vs multiple shards for multitenancy

2017-05-06 Thread Chris Troullis
; > such I am considering splitting my index out by tenant so that when one > > tenant modifies their data it doesn't blow away all of the searcher based > > caches for all tenants on soft commit. > > > > I have done a lot of research on the subject and it seems like Sol

Re: Multiple collections vs multiple shards for multitenancy

2017-05-06 Thread Erick Erickson
; tenant modifies their data it doesn't blow away all of the searcher based > caches for all tenants on soft commit. > > I have done a lot of research on the subject and it seems like Solr Cloud > can have problems handling large numbers of collections. I'm obviously > goi

Multiple collections vs multiple shards for multitenancy

2017-05-06 Thread Chris Troullis
rch on the subject and it seems like Solr Cloud can have problems handling large numbers of collections. I'm obviously going to have to run some tests to see how it performs, but my main question is this: are there pros and cons to splitting the index into multiple collections vs having 1 collectio

Re: Is SolrCloudClient Singleton Pattern possible with multiple collections?

2016-07-14 Thread Pablo Anzorena
> public QueryResponse query(ModifiableSolrParams params, METHOD method) > > > > And my actual code is parsing that object. I can change it to your > method, > > but before that let me ask you if using the param "collection" is the > same. > > >

Re: Is SolrCloudClient Singleton Pattern possible with multiple collections?

2016-07-14 Thread Erick Erickson
; but before that let me ask you if using the param "collection" is the same. > > Actually I am using the param "collection" only when I need to request to > multiple collections. > > Thanks. > > > > 2016-07-14 14:15 GMT-03:00 Erick Erickson : > >

Re: Is SolrCloudClient Singleton Pattern possible with multiple collections?

2016-07-14 Thread Pablo Anzorena
only when I need to request to multiple collections. Thanks. 2016-07-14 14:15 GMT-03:00 Erick Erickson : > Just use the > > public NamedList request(SolrRequest request, String collection) > > method on the SolrCloudClient? > > Best, > Erick > > On Thu, Jul 14,

Re: Is SolrCloudClient Singleton Pattern possible with multiple collections?

2016-07-14 Thread Erick Erickson
Just use the public NamedList request(SolrRequest request, String collection) method on the SolrCloudClient? Best, Erick On Thu, Jul 14, 2016 at 9:18 AM, Pablo Anzorena wrote: > Hey, > So the question is quite simple, Is it possible to use Singleton Pattern > with SolrCloudClient instantiation

Is SolrCloudClient Singleton Pattern possible with multiple collections?

2016-07-14 Thread Pablo Anzorena
Hey, So the question is quite simple, Is it possible to use Singleton Pattern with SolrCloudClient instantiation and then reuse that instance to handle multiple requests concurrently accessing differente collections? Thanks.

Re: SolrCloud multiple collections each with unique schema via SolrJ?

2016-05-17 Thread Boman
Got it! I now use uploadConfig to load the default config for each new collection I create, and then modify the schema. Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-multiple-collections-each-with-unique-schema-via-SolrJ-tp4277397p4277406.html Sent from

Re: SolrCloud multiple collections each with unique schema via SolrJ?

2016-05-17 Thread Shawn Heisey
On 5/17/2016 7:00 PM, Boman wrote: > I load the defaul config using scripts/cloud-scripts/zkcli.sh -cmd upconfig > after which collections are created programmatically and the schema modified > as per each collection's requirements. > > I now notice that it is the SAME "default" original schema tha

SolrCloud multiple collections each with unique schema via SolrJ?

2016-05-17 Thread Boman
f the default schema, and following any updates to that schema, it should remain Collection-specific. Any suggestions on how to achieve this programmatically? Thanks. --Boman. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-multiple-collections-each-with-unique-s

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-07 Thread Shawn Heisey
On 12/7/2015 9:46 AM, bengates wrote: > If I understand well, there is actually no way to create a core or a > collection from the API, with a defined-at-once configset, without having to > do some CLI commands on the remote server? With SolrCloud, the only step that requires commandline is upload

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-07 Thread bengates
-multiple-collections-multiple-schemas-tp4243584p4244010.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-05 Thread Erick Erickson
ailable through the API. Best, Erick On Sat, Dec 5, 2015 at 12:56 AM, bengates wrote: > I understand. > > How to do this via the API? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solrcloud-1-server-1-configset-multiple-collections-mul

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-05 Thread bengates
I understand. How to do this via the API? -- View this message in context: http://lucene.472066.n3.nabble.com/Solrcloud-1-server-1-configset-multiple-collections-multiple-schemas-tp4243584p4243737.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-04 Thread Jeff Wartes
>- ... but they are *also added* to *collection2* (verified by GETting >/http://my.remote.addr:8983/solr/collection2/schema/fields/) > >How to prevent this behavior, since my collections have *different kind of >datas*, and may have the same field names but not the same types? > >

Solrcloud: 1 server, 1 configset, multiple collections, multiple schemas

2015-12-04 Thread bengates
kind of datas*, and may have the same field names but not the same types? Thanks, Ben -- View this message in context: http://lucene.472066.n3.nabble.com/Solrcloud-1-server-1-configset-multiple-collections-multiple-schemas-tp4243584.html Sent from the Solr - User mailing list archive at Nabble.com.

Solrcloud - How to merge multiple collections to a single collection

2015-06-06 Thread uday
Is it possible to merge multiple collections to single collection in solrcloud 5.x ? Say we index daily logs to a collection per day and merge 7 day collections to a week collection -- View this message in context: http://lucene.472066.n3.nabble.com/Solrcloud-How-to-merge-multiple-collections

Spellcheck across multiple collections

2015-06-02 Thread Zheng Lin Edwin Yeo
Hi, Is there a way to collate the spellcheck across different collection? I understand that for select query, this can be done by setting collection=collection1,collection2 at the query. However, when I do that for spellcheck, Solr did not return me any result on the spellcheck when I entered a w

Re: Query multiple collections together

2015-05-11 Thread Zheng Lin Edwin Yeo
gt; > > On Mon, May 11, 2015 at 12:59 AM, Zheng Lin Edwin Yeo < > edwinye...@gmail.com> > wrote: > > > Thank you for the query. > > > > Just to confirm, for the 'gettingstarted' in the query, does it matter > > which collection name I put? >

Re: Query multiple collections together

2015-05-11 Thread Anshum Gupta
ngstarted' in the query, does it matter > which collection name I put? > > Regards, > Edwin > On 11 May 2015 15:51, "Anshum Gupta" wrote: > > > You can query multiple collections by specifying the list of collections > > e.g.: > > > >

Re: Query multiple collections together

2015-05-11 Thread Zheng Lin Edwin Yeo
Thank you for the query. Just to confirm, for the 'gettingstarted' in the query, does it matter which collection name I put? Regards, Edwin On 11 May 2015 15:51, "Anshum Gupta" wrote: > You can query multiple collections by specifying the list of collections > e.g.

Re: Query multiple collections together

2015-05-11 Thread Anshum Gupta
You can query multiple collections by specifying the list of collections e.g.: http://hostname:port /solr/gettingstarted/select?q=test&collection=collection1,collection2,collection3 On Sun, May 10, 2015 at 11:49 PM, Zheng Lin Edwin Yeo wrote: > Hi, > > Would like to check, is t

Query multiple collections together

2015-05-10 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, is there a way to query multiple collections together in a single query and return the results in one result set? For example, I have 2 collections and I want to search for records with the word 'solr' in both of the collections. Is there a query to do that,

Re: Unable to setup solr cloud with multiple collections.

2015-03-25 Thread Erick Erickson
to share all config files to other collections. > I did the similar setup to other collection , so that newly created core > should be available to all the collections, but it is still showing down. > > > > > -- > View this message in context: > http://lucene.

Re: Unable to setup solr cloud with multiple collections.

2015-03-24 Thread sthita
View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-setup-solr-cloud-with-multiple-collections-tp4194833p4195078.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Unable to setup solr cloud with multiple collections.

2015-03-24 Thread Erick Erickson
changes on solrconfig.xml > > startup="lazy"> > commit name="replicateAfter">startup > solrconfig_cn.xml,schema_cn.xml > > http://mail:8983/solr/dict_cn > > > Note: I am using solr 4.4.0, zookeeper-3.4.5 > > Can anyone help me on this ?

Unable to setup solr cloud with multiple collections.

2015-03-23 Thread sthita
mmit startup solrconfig_cn.xml,schema_cn.xml http://mail:8983/solr/dict_cn Note: I am using solr 4.4.0, zookeeper-3.4.5 Can anyone help me on this ? -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-setup-solr-cloud-with-multiple-collections-tp4194833.html Sent f

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 4:28 PM, Shawn Heisey wrote: > When I have some time to actually work on the code, I'm going to write > it using 4.x classes because that's what I have immediate access to, > but if you do 5.x, SolrServer becomes SolrClient, and HttpSolrServer > becomes HttpSolrClient. At the URL belo

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
ene.472066.n3.nabble.com/Can-a-single-SolrServer-instance-update-multiple-collections-tp4192480p4192545.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 3:35 PM, tuxedomoon wrote: > I can definitely upgrade to SolrJ 4.x and would prefer that so as to target > 4.x cores as well. I'm already on Java 7. > > One attempt I made was this > > UpdateRequest updateRequest = new UpdateRequest(); > updateRequest.setParam("collection",

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
p://lucene.472066.n3.nabble.com/Can-a-single-SolrServer-instance-update-multiple-collections-tp4192480p4192520.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Can a single SolrServer instance update multiple collections?

2015-03-11 Thread Shawn Heisey
On 3/11/2015 12:23 PM, tuxedomoon wrote: > I have a SolrJ application that reads from a Redis queue and updates > different collections based on the message content. New collections are > added without my knowledge, so I am creating SolrServer objects on the fly > as follows: > > def solrHost

Can a single SolrServer instance update multiple collections?

2015-03-11 Thread tuxedomoon
here a way to do this with a single SolrServer object? The SOLR host is version 3.5 and I am using the 3.5 jars for my application (not sure if that is necessary). -- View this message in context: http://lucene.472066.n3.nabble.com/Can-a-single-SolrServer-instance-update-multiple-c

Re: Use multiple collections having different configuration

2015-02-20 Thread Nitin Solanki
Thanks Shawn.. On Fri, Feb 20, 2015 at 7:53 PM, Shawn Heisey wrote: > On 2/20/2015 4:06 AM, Nitin Solanki wrote: > > I have scenario where I want to create/use 2 collection into > > same Solr named as collection1 and collection2. I want to use distributed > > servers. Each collection

Re: Use multiple collections having different configuration

2015-02-20 Thread Shawn Heisey
On 2/20/2015 4:06 AM, Nitin Solanki wrote: > I have scenario where I want to create/use 2 collection into > same Solr named as collection1 and collection2. I want to use distributed > servers. Each collection has multiple shards. Each collection contains > different configurations(solrc

Use multiple collections having different configuration

2015-02-20 Thread Nitin Solanki
Hello, I have scenario where I want to create/use 2 collection into same Solr named as collection1 and collection2. I want to use distributed servers. Each collection has multiple shards. Each collection contains different configurations(solrconfig.xml and schema.xml). How can I do? In

Re: Bootstrapping SolrCloud cluster with multiple collections in differene sharding/replication setup

2014-03-21 Thread Ugo Matrangolo
Hi, got a nice talk on IRC about this. The right thing to do is to start with a clean SOLR cluster (no cores) and then create all the proper collections with the Collections API. Ugo On Thu, Mar 20, 2014 at 7:26 PM, Jeff Wartes wrote: > > Please note that although the article talks about the

Re: Bootstrapping SolrCloud cluster with multiple collections in differene sharding/replication setup

2014-03-20 Thread Jeff Wartes
Please note that although the article talks about the ADDREPLICA command, that feature is coming in Solr 4.8, so don¹t be confused if you can¹t find it yet. See https://issues.apache.org/jira/browse/SOLR-5130 On 3/20/14, 7:45 AM, "Erick Erickson" wrote: >You might find this useful: >http://he

Re: Bootstrapping SolrCloud cluster with multiple collections in differene sharding/replication setup

2014-03-20 Thread Erick Erickson
You might find this useful: http://heliosearch.org/solrcloud-assigning-nodes-machines/ It uses the collections API to create your collection with zero nodes, then shows how to assign your leaders to specific machines (well, at least specify the nodes the leaders will be created on, it doesn't sho

Re: Bootstrapping SolrCloud cluster with multiple collections in differene sharding/replication setup

2014-03-20 Thread Mark Miller
before we had a collections api. The collections API is much better if you want multiple collections and it’s the future. --  Mark Miller about.me/markrmiller On March 20, 2014 at 10:24:18 AM, Ugo Matrangolo (ugo.matrang...@gmail.com) wrote: Hi, I would like some advice about the best way to

Bootstrapping SolrCloud cluster with multiple collections in differene sharding/replication setup

2014-03-20 Thread Ugo Matrangolo
Hi, I would like some advice about the best way to bootstrap from scratch a SolrCloud cluster housing at least two collections with different sharding/replication setup. Going through the docs/'Solr In Action' book what I have sees so far is that there is a way to bootstrap a SolrCloud cluster wi

Re: SolrCloud: Programmatically create multiple collections?

2013-08-14 Thread Shawn Heisey
On 8/14/2013 12:34 AM, xinwu wrote: > Hey Shawn .Thanks for your reply. > I just want to access the base_url easily by a short instanceDir name. For index updates and queries, you *can* access it by the /solr/mycollection name. Although there may be no core by that name, the base URL will work.

Re: SolrCloud: Programmatically create multiple collections?

2013-08-13 Thread xinwu
Thank you Ani. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Programmatically-create-multiple-collections-tp3916927p4084485.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud: Programmatically create multiple collections?

2013-08-13 Thread xinwu
Hey Shawn .Thanks for your reply. I just want to access the base_url easily by a short instanceDir name. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Programmatically-create-multiple-collections-tp3916927p4084480.html Sent from the Solr - User mailing list

Re: SolrCloud: Programmatically create multiple collections?

2013-08-13 Thread Anirudha Jadhav
At this point you would need a higher level service sitting on top on solr clusters which also talks to your zk setup in order to create custom collections on the fly. its not super difficult, but seems out of scope for solrcloud now. let me know if others have a different opinion. thanks, Ani

Re: SolrCloud: Programmatically create multiple collections?

2013-08-13 Thread Shawn Heisey
On 8/13/2013 3:07 AM, xinwu wrote: > When I managed collections via the Collections API. > How can I set the 'instanceDir' name? > eg:http://localhost:8983/solr/admin/collections?action=CREATE&name=mycollection&numShards=3&replicationFactor=4 > > My instanceDir is 'mycollection_shard2_replica1'.

Re: SolrCloud: Programmatically create multiple collections?

2013-08-13 Thread xinwu
a1'. How can I change it to 'mycollection'? -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Programmatically-create-multiple-collections-tp3916927p4084202.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Querying multiple collections in SolrCloud

2013-06-27 Thread Erick Erickson
> top N docs will probably be dominated by the docs from a single type. > > > > bq: How does SolrCloud combine the query results from multiple > collections? > > > > It doesn't. SolrCloud sorts the results from multiple nodes in the > > _same_ collection &

Re: Querying multiple collections in SolrCloud

2013-06-26 Thread Chris Toomey
gt; various collections will NOT be comparable. So simply getting the list of > top N docs will probably be dominated by the docs from a single type. > > bq: How does SolrCloud combine the query results from multiple collections? > > It doesn't. SolrCloud sorts the results from

Re: Querying multiple collections in SolrCloud

2013-06-26 Thread Erick Erickson
ng the list of top N docs will probably be dominated by the docs from a single type. bq: How does SolrCloud combine the query results from multiple collections? It doesn't. SolrCloud sorts the results from multiple nodes in the _same_ collection according to whatever sort criteria are specified,

Re: Querying multiple collections in SolrCloud

2013-06-25 Thread Chris Toomey
llection - add all the fields to one schema - there is no time or space > penalty if most of the field are empty for most documents. > > -- Jack Krupansky > > -Original Message- From: Chris Toomey > Sent: Tuesday, June 25, 2013 6:08 PM > To: solr-user@lucene.apache.org &

Re: Querying multiple collections in SolrCloud

2013-06-25 Thread Jack Krupansky
ection - add all the fields to one schema - there is no time or space penalty if most of the field are empty for most documents. -- Jack Krupansky -Original Message- From: Chris Toomey Sent: Tuesday, June 25, 2013 6:08 PM To: solr-user@lucene.apache.org Subject: Querying multiple col

Querying multiple collections in SolrCloud

2013-06-25 Thread Chris Toomey
ocalhost:8983/solr/collection1/select?q=apple%20pie&collection=c1,c2,...,cN";? Again, we're not querying against specific fields. * How does SolrCloud combine the query results from multiple collections? Does it re-sort the combined result set, or does it just return the concatenatio

Re: Search across multiple collections

2013-06-06 Thread Erick Erickson
gt; Suppose, each collection have their own config files and I perform various >> operations on collections individually but when I search I want the search >> to happen across all collections. Can someone let me know how to perform >> search on multiple collections? Do I need to use sharding again? >> >> >> >> -- >> View this message in context: >> >> http://lucene.472066.n3.nabble.com/Search-across-multiple-collections-tp4068469.html >> Sent from the Solr - User mailing list archive at Nabble.com.

Re: Search across multiple collections

2013-06-05 Thread abillavara
ach collection have their own config files and I perform various operations on collections individually but when I search I want the search to happen across all collections. Can someone let me know how to perform search on multiple collections? Do I need to use sharding again? -- View th

Search across multiple collections

2013-06-05 Thread bbarani
perform search on multiple collections? Do I need to use sharding again? -- View this message in context: http://lucene.472066.n3.nabble.com/Search-across-multiple-collections-tp4068469.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Searching across multiple collections (cores)

2013-03-14 Thread kfdroid
definition to see if this will work for me. Ken -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-across-multiple-collections-cores-tp4047457p4047466.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Searching across multiple collections (cores)

2013-03-14 Thread Mark Miller
nd can't seem > to find one. It seems like a very basic concept to me though so maybe I'm > using the wrong terminology. I want to be able to search across multiple > collections (as it is now called in SolrCloud world, previously called > Cores). I want the scoring, sorting

Searching across multiple collections (cores)

2013-03-14 Thread kfdroid
I've been looking all over for a clear answer to this question and can't seem to find one. It seems like a very basic concept to me though so maybe I'm using the wrong terminology. I want to be able to search across multiple collections (as it is now called in SolrCloud world, pr

Re: Multiple Collections in one Zookeeper

2013-03-09 Thread Mark Miller
s -jar start.jar > > > I get this error: > > SEVERE: Could not create Overseer node > > For simplicity, I'd like to only have zookeeper ensemble. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936p4045981.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple Collections in one Zookeeper

2013-03-09 Thread jimtronic
ould not create Overseer node For simplicity, I'd like to only have zookeeper ensemble. -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-Collections-in-one-Zookeeper-tp4045936p4045981.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Multiple Collections in one Zookeeper

2013-03-08 Thread Michael Della Bitta
al cores and pointing at one > zookeeper. > > For performance reasons, I'd like to move one of the cores on to it's own > dedicated cluster of servers. Can I use the same zookeeper to keep track of > both clusters. > > Thanks! > Jim > > > > -- > Vi

  1   2   >