Hi,
In 5.1, we are creating a collection using the Collections API with an initial
replicationFactor of X. This value is then stored in the state.json file for
that collection.
If I try to issue ADDREPLICA on this cluster, it throws an error saying that
there are no live nodes for additional r
Thanks as always for the great answers!
Jim
On 6/19/15, 11:57 AM, "Erick Erickson" wrote:
>Jim:
>
>This is by design. There's no way to tell Solr to find all the cores
>available and put one replica on each. In fact, you're explicitly
>telling it to create one and only one replica, one and onl
I noticed that when I issue the CREATE collection command to the api, it does
not automatically put a replica on every live node connected to zookeeper.
So, for example, if I have 3 solr nodes connected to a zookeeper ensemble and
create a collection like this:
/admin/collections?action=CREATE&
sn't "join" the collection. What's the expected next step?
This is Solr 5.1.
Thanks!
Jim Musil
work in 5.0, it is unsupported, not recommended, and the behavior will
>>>change in a 5.x release."
>>>
>>>Currently, we launch several solr nodes with identical cores defined
>>>using the new Core Discovery process. These nodes are also connected to
>>>a
>>>zookeeper ensemble. Part of the core definition is to set the configSet
>>>to use. This configSet is uploaded to zookeeper separately. This
>>>effectively creates a Collection.
>>>
>>>Is this method no long supported in 5.x?
>>>
>>>Thanks!
>>>Jim Musil
>>>
>>
ed
>using the new Core Discovery process. These nodes are also connected to a
>zookeeper ensemble. Part of the core definition is to set the configSet
>to use. This configSet is uploaded to zookeeper separately. This
>effectively creates a Collection.
>
>Is this method no long supported in 5.x?
>
>Thanks!
>Jim Musil
>
Part of the core definition is to set the configSet to use. This
configSet is uploaded to zookeeper separately. This effectively creates a
Collection.
Is this method no long supported in 5.x?
Thanks!
Jim Musil
automatically
upload these named config sets to zookeeper?
Thanks!
Jim Musil
I'm trying to use zkcli.sh to upload configurations to zookeeper and solr 5.1.
It's throwing an error because it references webapps/solr.war which no longer
exists.
Do I have to build my own solr.war in order to use zkcli.sh?
Please forgive me if I'm missing something here.
Jim Musil
Hi,
Is it possible to periodically dump the cluster state contents (or system
diagnostics) into the main solr log file?
We have many security protocols in place that prevents us from running
diagnostic requests directly to the solr boxes, but we do have access to the
shipped logs.
Thanks!
Jim
We set them as extra parameters sent to to the servlet (jetty or tomcat).
eg java -Dsolr.lock.type=native -jar start.jar
Jim
On 2/3/15, 11:58 AM, "O. Olson" wrote:
>I'm sorry if this is a basic question, but I am curious where, or at
>least,
>how can we set the parameters in the solrconfig.xml
You don't have to use SolrJ. It's just a web request to a url, so just
issue the request in Java and parse the JSON response.
http://stackoverflow.com/questions/7467568/parsing-json-from-url
SolrJ does make it simpler, however.
Jim
On 2/2/15, 12:57 PM, "mathewvino" wrote:
>Hi There,
>
>I am u
It looks to me like you simply want to split the incoming query by the
hyphen, so that it searches for exact codes like this ³CHQ PAID² ³INWARD
TRAN² ³HDFC LTD².
If that¹s true, I¹d either just change the query at the client to do what
you want, or look into something like the PatternTokenizer:
throwing the error?
Are all the updates coming from one machine?
Is there some other bottleneck in your network (like a load balancer) that
is limiting connections?
Good luck,
Jim Musil
On 2/2/15, 5:29 AM, "nkgupta" wrote:
>I have 8 node solr cloud cluster connected with external zo
; group=true&
>> group.main=true&
>> group.func=rint(scale(query({!type=edismax v=$q}),0,20))& // puts into
>> buckets
>> group.limit=20& // gives you 20 from each bucket
>> group.sort=category asc // this will sort by category within each
>>buc
gt;> group.func=rint(scale(query({!type=edismax v=$q}),0,20))& // puts into
>> buckets
>> group.limit=20& // gives you 20 from each bucket
>> group.sort=category asc // this will sort by category within each
>>bucket,
>> but this can be a function as well.
&g
=category asc // this will sort by category within each
>>bucket,
>> but this can be a function as well.
>>
>>
>>
>> Jim Musil
>>
>>
>>
>> On 1/27/15, 10:14 AM, "Jim.Musil" >
>> wrote:
>>
>> >When using gro
ut this can be a function as well.
Jim Musil
On 1/27/15, 10:14 AM, "Jim.Musil" wrote:
>When using group.main=true, the results are not mixed as you expect:
>
>"If true, the result of the last field grouping command is used as the
>main result list in the re
ource.newContext(searcher);
>>groupBy.createWeight(context, searcher);
>>actualGroupsToFind = getMax(offset, numGroups, maxDoc);
>> }
>>
>>
>> I¹ll search for a Jira issue and open if I can¹t find one.
>>
>> Jim Musil
&g
for a Jira issue and open if I can¹t find one.
Jim Musil
On 1/26/15, 6:34 PM, "Ryan Josal" wrote:
>I have an index of products, and these products have a "category" which we
>can say for now is a good approximation of its location in the store. I'm
>investig
If you are using the DataImportHandler, you can leverage on of the
transformers, such as the DateFormatTransformer:
http://wiki.apache.org/solr/DataImportHandler#DateFormatTransformer
If you are updating documents directly you can define a regex
transformation in your schema.xml:
https://wiki.a
I’m curious how CloudSolrServer works in practice.
I understand that it gets the active solr nodes from zookeeper, but does it do
this for every request?
If it does hit zk for every request, that seems to put a lot of pressure on the
zk ensemble.
If it does NOT hit zk for every request, then h
Hi,
I’m attempting to define a core using the new core discovery method described
here:
http://wiki.apache.org/solr/Core%20Discovery%20(4.4%20and%20beyond)
At the bottom of the page is a parameter named configName that should allow me
to specify a configuration name to use for a collection. Th
23 matches
Mail list logo