Re: Some questions about Solrcloud

2014-06-27 Thread Shawn Heisey
On 6/27/2014 11:07 PM, spir...@gmail.com wrote: > Thanks for answers ! > > So all my changes i'll must provide via zookeeper ? I asking because this > moment confused me when i bootstrap one node with full config, then added 2 > nodes to cluster, but conf dirs on new appended nodes is empty > (s

Streaming large updates with SolrJ

2014-06-27 Thread Joe Gresock
Is there a standard way to stream updates to Solr using SolrJ? Specifically, we have some atomic updates for large field values (hundreds of MB) we'd like to send. We're currently sending partial updates using SolrInputDocument objects, but we'd love to be able to keep less on the heap in our cli

Re: numFound is changing when start parameter changed

2014-06-27 Thread Shawn Heisey
On 6/26/2014 8:47 PM, CONAN wrote: > I use solr4.4 , 2 shards and 2 replicas and I found a problem on solrCloud > search. > > > If I perform a query with start=0 and rows=10 and say fq=ownerId:123 , I get > numFound=225. > If I simply change the start param to start=6, I get numFound=223. > and

Re: Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread Shawn Heisey
On 6/27/2014 12:00 PM, IJ wrote: > These observations leads me to believe the following (still a theory): > 1. There is something thats breaking / disrupting inter-node communication > between NodeX and NodeY > Could this be a firewall or something similar ? > > 2. Whenever NodeX remains idle

Re: Some questions about Solrcloud

2014-06-27 Thread Shawn Heisey
On 6/27/2014 7:47 AM, spirtt0 wrote: > I have some question about Solrcloud: > > 1. Is it possible to update dataimport configuration without full server > restart ? I was tried do that with core reload via API, but configuration > for dataimporthandler wasn't change Are you updating a file on the

Re: Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread IJ
I am a colleague of the person who posted the original question. We have done some more analysis and have more information to provide. Here are the responses to Toke's questions: >> * Do they (slow performing queries) occur under heavy network load? No, they don't. This happens even when there

Re: Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread Shawn Heisey
On 6/27/2014 2:07 AM, RadhaJayalakshmi wrote: > Thanks for all of your responses - did some more research - and here is an > observation: > I am seeing an inconsistency in the QTime in the SolrQueryResponse object > returned to the Client App Versus the value of the QTime printed in the > Solr.log.

Re: SolrCloud leaders using more disk space

2014-06-27 Thread Timothy Potter
Hi Greg, Sorry for the slow response. The general thinking is that you shouldn't worry about which nodes host leaders vs. replicas because A) that can change, and B) as you say, the additional responsibilities for leader nodes is quite minimal (mainly per-doc version management and then distributi

Re: Nested doc / Block Join Incorrect Responses

2014-06-27 Thread Elliot Ickovic
Thank you for your help! I modified my code to add a secondary type field to represent the solr nested document hierarchy and I'm using that new field in the {!child of=''...} portion of the query. Everything is working great now and I am able to delete by query as well now (before I was only abl

Re: Using hundreds of dynamic fields

2014-06-27 Thread Jared Whiklo
This is probably not the best answer, but my gut says that even if you changed your document to a simple 2 fields and have one as your metric and the other as a TrieDateField you would speed up and simplify your date range queries. -- Jared Whiklo On 2014-06-27 10:10 AM, "Andy Crossen" wrote:

Re: Using hundreds of dynamic fields

2014-06-27 Thread Jack Krupansky
Solr is a "document" oriented database, not a "column" oriented database. Consider making each metric a separate document. Dynamic fields are a powerful feature - if used in moderation, but "hundreds" does not sound like moderation. For example, to add a new metric you have to read and rewrite

Re: Two solr instances access common index

2014-06-27 Thread Erick Erickson
bq: But after some updates, the index becomes unstable. Exactly. And this kind of thing will continue to haunt you. You said "would write to the common directory ( but not both simultaneously for sure)". Well, how did you guarantee that? More importantly how do you guarantee that, for instance, b

Using hundreds of dynamic fields

2014-06-27 Thread Andy Crossen
Hi folks, My application requires tracking a daily performance metric for all documents. I start tracking for an 18 month window from the time a doc is indexed, so each doc will have ~548 of these fields. I have in my schema a dynamic field to capture this requirement: Example: metric_2014_06_

Some questions about Solrcloud

2014-06-27 Thread spirtt0
Hi! I have some question about Solrcloud: 1. Is it possible to update dataimport configuration without full server restart ? I was tried do that with core reload via API, but configuration for dataimporthandler wasn't change 2. We want use SolrCloud with 3 replication nodes on separate servers.

Re: About Query Parser

2014-06-27 Thread Vivekanand Ittigi
That's impressive answer. I actually wanted to know how exactly query parser works. I'm actually supposed to collect some fields,values,other related info and build a solr query. I wanted to know i should use this queryparser or java code to build solr query. Anyway it looks i've to go with java co

Re: SOLR 4.4 - Slave always replicates full index

2014-06-27 Thread Dominik Siebel
Erick: I now that. I didn't optimize the index frequently. The problem was more that a lot of documents have been added (without commit or autoCommit configured) to the index and MergePolicy kicked in and started merging the segments (i guess). This led to all segments beeing replicated because al

Re: Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread Toke Eskildsen
On Fri, 2014-06-27 at 10:07 +0200, RadhaJayalakshmi wrote: > Here is one specific instance: > Value of QTime in SolrQueryResponse object is 5023 ms as > seen by the Client App > Value of QTime printed in Solr.log - 6ms That does indicate, as you suggest, that networ

Re: Nested doc / Block Join Incorrect Responses

2014-06-27 Thread Mikhail Khludnev
On Fri, Jun 27, 2014 at 1:47 AM, Elliot Ickovic wrote: > Tried the following: > > add() - fakeparent000 : [single001] //with new 'doc-type:fakeparent' > here it should be doc-type:parent, if you wish to distinguish "fakes", mark them by the separate field. mind that you should not use the dif

Re: Nested doc / Block Join Incorrect Responses

2014-06-27 Thread Mikhail Khludnev
On Thu, Jun 26, 2014 at 11:41 PM, Elliot Ickovic wrote: > Hi Mikhail, Thank you for the quick response! > > If I instead of: > > add() - fakeparent000 : [single001] > > I do : > > add() - single000 : [fakeChild001] > > will this prevent the index from appearing corrupted? This way I can > retai

Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread RadhaJayalakshmi
Thanks for all of your responses - did some more research - and here is an observation: I am seeing an inconsistency in the QTime in the SolrQueryResponse object returned to the Client App Versus the value of the QTime printed in the Solr.log. Here is one specific instance: Value o

Re: Slow QTimes - 5 seconds for Small sized Collections

2014-06-27 Thread RadhaJayalakshmi
Thanks for all of your responses - did some more research - and here is an observation: I am seeing an inconsistency in the QTime in the SolrQueryResponse object returned to the Client App Versus the value of the QTime printed in the Solr.log. Here is one specific instance: Value o

expand=true in ManagedSynonymFilterFactory

2014-06-27 Thread Mingchun Zhao
Hello, How can I add equivalent synonyms separated with commas into ManagedSynonymFilterFactory via REST API? Further, I'd like to set expand=true to make a synonym expanded to all equivalent synonyms. Best regards, Mingchun Zhao

Re: Solr Fields Multilingue

2014-06-27 Thread benjelloun
Hello, this is my configuration in SolrConfig.xml: NomDocument,ContenuDocument,Postit language_s fr en,fr,ar true true NomDocument true then what should i do in schema.xml ?

Re: Two solr instances access common index

2014-06-27 Thread Prasi S
My scenario was to have a single master and two slaves replicating from it. In case the Master fails, we had a failover master. But synchornizing both Masters was a problem. So, we planned to have a common index shared with 2 Masters. Indexing will happen via Master1 and if it fails then it would b