Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Mikhail Khludnev
It seems like by-design https://issues.apache.org/jira/browse/SOLR-5211 you can't update a parent doc from the block. On Tue, Oct 7, 2014 at 9:44 AM, Ali Nazemian wrote: > The list of docs before do partial update: > > product01 > car > product >

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
The list of docs before do partial update: product01 car product part01 wheels part part02 engine part

SolrCloud with client ssl

2014-10-06 Thread Sindre Fiskaa
Followed the description https://cwiki.apache.org/confluence/display/solr/Enabling+SSL and generated a self signed key pair. Configured a few solr-nodes and used the collection api to crate a new collection. I get error message when specify the nodes with the createNodeSet param. When I don't u

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread Erick Erickson
Not, I'm not guaranteeing that it'll actually cure the problem, just that enough has changed since 4.7 that it'd be a good place to start. Things have been reported off and on, but they're often pesky race conditions or something else that takes a long time to track down, you just are lucky perhap

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Karunakar Reddy
Thanks Shawn and Gora for your suggestions. @Gora sounds good. I am just getting clarity over it. Regards, Karunakar. On Tue, Oct 7, 2014 at 8:27 AM, Gora Mohanty wrote: > On 6 October 2014 18:40, Karunakar Reddy wrote: > > > > Hey Alex, > > Thanks for your reply. > > Is delta-import handler

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread S.L
Erick, Thanks for the suggestion , I am not sure if I would be able to capture what went wrong , so upgrading to 4.10 seems easier even though it means , a days work of effort :) . I will go ahead and upgrade and let me know , although I am surprised that this issue never got reported for 4.7 up u

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Gora Mohanty
On 6 October 2014 18:40, Karunakar Reddy wrote: > > Hey Alex, > Thanks for your reply. > Is delta-import handler configurable? say if I want to update documents > every 20 mins is it possible through any configuration/settings like > autocommit? As a delta-import involves loading a URL, you can d

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread Erick Erickson
I think there were some holes that would allow replicas and leaders to be out of synch that have been patched up in the last 3 releases. There shouldn't be anything you need to do to keep these in synch, so if you can capture what happened when things got out of synch we'll fix it. But a lot has c

Re: search query text field with Comma

2014-10-06 Thread Sven Maurmann
Dear Ravi, this is most likely the consequence of the analyzer-configuration: If you tokenize your text without removing the commas (and other punctuation), the comma right after the word "Series" will be part of the resulting token. You should check the configuration and make sure you use the a

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread S.L
Hi Erick, Before I tried your suggestion of issung a commit=true update, I realized that for eaach shard there was atleast a node that had its index directory named like index.. I went ahead and deleted index directory that restarted that core and now the index directory got syched with the o

Re: solrJ bug related to solrJ 4.10 for having both incremental partial update and child document on the same solr document!

2014-10-06 Thread Ishan Chattopadhyaya
Hi A.Nazemian, Thanks for your findings. I think I was able to reproduce what you reported. Please have a look at the tests for SOLR-6596 and add your comments there. :-) Regards, Ishan > Did anybody test that? > Best regards. > On Mon, Sep 29, 2014 at 2:05 PM, Ali Nazemian > wrote: >> I also c

RE: search query text field with Comma

2014-10-06 Thread Markus Jelsma
Hi - you are probably using the WhitespaceTokenizer without a WordDelimiterFilter. Consider using the StandardTokenizer or add the WordDelimiterFilter. Markus -Original message- > From:EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) > > Sent: Monday 6th October 2014 20:

search query text field with Comma

2014-10-06 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Hi users, This is may be a basic question, but I am facing some trouble.. The scenario is , I have a text "Truck Series, 12V and 15V", if the user search "Truck Series" it is not getting the row , but "Truck Series," is working.. How can I get for search "Truck Series"..? Thanks Ravi

Re: Does CloudSolrServer hit zookeeper for every request?

2014-10-06 Thread amitha
Yeah I saw that does if I call shutdown after a request and need to make another request I get org.apache.solr.client.solrj.SolrServerException: java.lang.IllegalStateException: Connection pool shut down -- View this message in context: http://lucene.472066.n3.nabble.com/Does-CloudSolrServer-

Re: Does CloudSolrServer hit zookeeper for every request?

2014-10-06 Thread Joel Bernstein
There is a shutdown() method on CloudSolrServer that releases the resources for CloudSolrServer. Joel Bernstein Search Engineer at Heliosearch On Mon, Oct 6, 2014 at 11:39 AM, Jonnakuti, Vijayalatha < vijayalatha.jonnak...@disney.com> wrote: > We are using solr 4.8.0 > > From: , Vijay Jonnakuti

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
Can you upload the update documents then (into a Gist or similar). Just so that people didn't have to re-imagine exact steps. Because, if it fully checks out, it might be a bug and the next step would be creating a JIRA ticket. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalo

Re: Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Shawn Heisey
On 10/6/2014 10:07 AM, Simon Fairey wrote: > Thanks and yeah I thought it might be crazy, the image is just the JVM memory > usage you get from the dashboard on the solr admin pages, the JVM on has what > appears to be a light grey then dark grey band then some blank space, those > are the numbe

RE: Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Simon Fairey
Thanks I will have a read and digest this. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 06 October 2014 16:56 To: solr-user@lucene.apache.org Subject: Re: Solr configuration, memory usage and MMapDirectory On 10/6/2014 9:24 AM, Simon Fairey wrote: > I've inher

RE: Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Simon Fairey
Thanks and yeah I thought it might be crazy, the image is just the JVM memory usage you get from the dashboard on the solr admin pages, the JVM on has what appears to be a light grey then dark grey band then some blank space, those are the numbers I referred to if that makes sense? Bit of quick

Re: Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Erick Erickson
First, the e-mail programs tend to strip attachments so your screenshot didn't come through. You can past it up somewhere and provide a link if you still need us to see it. That said -Xmx131072m This is insane, you're absolutely right to focus on that first. Here's Uwe's excellent blog ont h

Re: Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Shawn Heisey
On 10/6/2014 9:24 AM, Simon Fairey wrote: > I've inherited a Solr config and am doing some sanity checks before > making some updates, I'm concerned about the memory settings. > > System has 1 index in 2 shards split across 2 Ubuntu 64 bit nodes, > each node has 32 CPU cores and 132GB RAM, we index

CloudSolrServer hit zookeeper for every request and too many zookeeper connections

2014-10-06 Thread amitha
We have too many zookeeper connections and had to increase max client connection on zookeeper(3.4.6) & solr 4.8.0 The underlaying problem looks like, CloudSolrServer makes a connect call to zookeeper for every request but never disconnects. Am I supposed to call getZkStateReader().close() for eve

Re: Does CloudSolrServer hit zookeeper for every request?

2014-10-06 Thread Jonnakuti, Vijayalatha
We are using solr 4.8.0 From: , Vijay Jonnakuti mailto:vijayalatha.jonnak...@disney.com>> Date: Monday, October 6, 2014 at 8:34 AM To: "solr-user@lucene.apache.org" mailto:solr-user@lucene.apache.org>> Subject: Does CloudSolrServer hit zookeeper for every requ

Does CloudSolrServer hit zookeeper for every request?

2014-10-06 Thread Jonnakuti, Vijayalatha
Hi We have too many zookeeper connections and had to increase max client connection on zookeeper(3.4.6) The underlaying problem looks like, CloudSolrServer makes a connect call to zookeeper for every request but never disconnects. Am I supposed to call getZkStateReader().close() for every requ

Solr configuration, memory usage and MMapDirectory

2014-10-06 Thread Simon Fairey
Hi I've inherited a Solr config and am doing some sanity checks before making some updates, I'm concerned about the memory settings. System has 1 index in 2 shards split across 2 Ubuntu 64 bit nodes, each node has 32 CPU cores and 132GB RAM, we index around 500k files a day spread out over the da

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
Dear Alex, Hi, LOL, yeah I am sure. You can test it yourself. I did that on default schema too. The results are same! Regards. On Mon, Oct 6, 2014 at 4:20 PM, Alexandre Rafalovitch wrote: > A stupid question: Are you sure that what schema thinks your uniqueId > is - is the uniqueId in your setup

RE: Exact match on string field with special characters

2014-10-06 Thread Michael Ryan
This should do what you want: String fq = "Field1" + "\"" + org.apache.solr.client.solrj.util.ClientUtils.escapeQueryChars(value) + "\""; -Michael -Original Message- From: tedsolr [mailto:tsm...@sciquest.com] Sent: Monday, October 06, 2014 10:49 AM To: solr-user@lucene.apache.org Subje

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
Shoot I just noticed the error in my original post which would certainly cause confusion. Instead of query.addFacetField(fq); I meant to write query.setParam("fq", fg); Sorry. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-on-string-field-with-special-charac

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
I may have provided too much background story for my question. What I am trying to do at the core here, is an exact match on a single field. I do this programmatically by reading the field value from the facet query and setting it equal to the field name for a subsequent search. if this is a sampl

Reverse search : search docs in user query ?

2014-10-06 Thread Mikael Sola
Hi all, I have a special use case to implement, and I couldn't achieve it with a a solution combining expected behavior and performance. My goal is to identify specific terms inside the user query, to restrict following queries. To be more factual : if the user queries "walmart black socks", I woul

Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Danesh Kuruppu
Thanks Alex and Shawn, Yes, I have given the wrong URL. I have change the default name and I am not specified that in the URL. Issue resolved after correcting the URL many thanks On Mon, Oct 6, 2014 at 6:51 PM, Shawn Heisey wrote: > On 10/6/2014 7:00 AM, Danesh Kuruppu wrote: > > Thanks for qu

Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Shawn Heisey
On 10/6/2014 7:00 AM, Danesh Kuruppu wrote: > Thanks for quick response Shawn. > > I upgrade to the server and create new HttpSolrServer. when I try to add > document to the solr server, I am getting following error. > > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: >> Exp

Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Alexandre Rafalovitch
The answer is in the message: On 6 October 2014 09:00, Danesh Kuruppu wrote: > HTTP Status 404 - /solr/update My guess is that you don't have a default collection anymore. Maybe you are using new collection autodiscovery mechanism and your collection is not named collection1 (default name). So,

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Karunakar Reddy
Hey Alex, Thanks for your reply. Is delta-import handler configurable? say if I want to update documents every 20 mins is it possible through any configuration/settings like autocommit? Regards, Karunakar. On Mon, Oct 6, 2014 at 6:24 PM, Alexandre Rafalovitch wrote: > 1) DIH looks like a match

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Alexandre Rafalovitch
On 6 October 2014 08:56, Shawn Heisey wrote: > 2) As a group, the developers are resistant to features that would cause > Solr to make changes in the index without being *told* to do it by an > outside force. There is already an issue in Jira for a DIH scheduler, > but the patch hasn't been commi

RE: DIH - cacheImpl="SortedMapBackedCache" - empty rows from sub entity

2014-10-06 Thread stockii
i dont know why. but it works if i dont use cacheKey/cacheLookup. But if i use "where" it works fine. http://wiki.apache.org/solr/DataImportHandler#CachedSqlEntityProcessor - >From Example 2: where="id=en1.id" ... strange. -- View this message in context: http://lucene.472066.n3.nabble.com/DI

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Alexandre Rafalovitch
1) DIH looks like a match to your needs, yes. You just trigger it from your script and then it does the rest of the work asynchronously. But you'll to pull later for the status if you want to report on success/failure. 2) Yes, you can just by defining several entities next to each other. You can r

Re: Performance improvement in latest version comparing to v1.4

2014-10-06 Thread Danesh Kuruppu
Thanks for quick response Shawn. I upgrade to the server and create new HttpSolrServer. when I try to add document to the solr server, I am getting following error. org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > Expected mime type application/octet-stream but got text/htm

RE: DIH - cacheImpl="SortedMapBackedCache" - empty rows from sub entity

2014-10-06 Thread stockii
thx. this is a little bit better, but now i got only one row from entity "en2" in my index. it seems, that the lookup dont work for me =(( -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-cacheImpl-SortedMapBackedCache-empty-rows-from-sub-entity-tp4162316p4162879.html S

Re: data import handler clarifications/ pros and cons.

2014-10-06 Thread Shawn Heisey
On 10/6/2014 5:09 AM, Karunakar Reddy wrote: > Please suggest me effective way of using data import handler. > > Here is my use case. > > I have different kind of items which needs to be indexed in solr . Eg( > books, shoes,electronics etc... ) each one has in different relational > table. > I ha

Re: duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Alexandre Rafalovitch
A stupid question: Are you sure that what schema thinks your uniqueId is - is the uniqueId in your setup? Also, that you are not somehow using the flags to tell Solr to ignore duplicates? Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://

data import handler clarifications/ pros and cons.

2014-10-06 Thread Karunakar Reddy
Hi All, Please suggest me effective way of using data import handler. Here is my use case. I have different kind of items which needs to be indexed in solr . Eg( books, shoes,electronics etc... ) each one has in different relational table. I have only one core as of now which is been used for pu

Re: [ANN] Lucidworks Fusion 1.0.0

2014-10-06 Thread Anurag Sharma
Ok. Thanks for the clarification. On Mon, Oct 6, 2014 at 12:54 AM, Garth Grimm < garthgr...@averyranchconsulting.com> wrote: > Well, the current release is only supported on Linux. A Windows > compatible release is planned for later this year. > > -Original Message- > From: Anurag Sharma

duplicate unique key after partial update in solr 4.10

2014-10-06 Thread Ali Nazemian
Dear all, Hi, I am going to do partial update on a field that has not any value. Suppose I have a document with document id (unique key) '12345' and field "read_flag" which does not index at the first place. So the read_flag field for this document has not any value. After I did partial update to t