Re: Cannot connect to a zookeeper 3.4.6 instance via zkCli.cmd

2015-10-04 Thread Zheng Lin Edwin Yeo
Hi Adrian, It's unlikely to be the firewall settings if it is failing intermittently. More of a network issues. The error says it's a connection time out, and since you say it happens only intermittently, I'm suspecting it could be network issues. Have you check if the connection to the various

Re: How to disable the admin interface

2015-10-04 Thread Andrea Open Source
Hi, As Shawn is saying, disabling the Admin interface is not the right way to go. If you just disable the admin interface users could still run queries and you don't want that. The solution that you're looking for, is enabling the ssh authentication so only the users with the right certificate

Does solr remove "\r" from text content for indexing?

2015-10-04 Thread Ziqi Zhang
Hi I am trying to pin-point a mismatch between the offsets produced by solr indexing process when I use the offsets to substring from the original document content. It seems that if the text content contains "\r" (windows carriage sign), solr automatically removes it, so "ok\r\nthis is the

Re: Unable to delete document from solr

2015-10-04 Thread Tomoko Uchida
Hi, Sorry if I miss the point... Is your delete query surely okay? When you search with the delete query, how many docs are returned. For example : http://SOLRSERVER:SOLRPORT/solr/collection_name/search?q=Name:".$Name.; AND Version:".$version." If that helps, Solr returns normal response even

Re: Solr 4.7.2 Vs 5.3.0 Docs different for same query

2015-10-04 Thread Upayavira
The new collections UI isn't yet committed. It is close, and i would like to have it in 5.4. Upayavira On Fri, Oct 2, 2015, at 09:35 PM, Ravi Solr wrote: > Thank you very much Erick and Uchida. I will take a look at the URL u > gave > Erick. > > Thanks > > Ravi Kiran Bhaskar > > On Fri, Oct

Unable to delete document from solr

2015-10-04 Thread Arun Verma
Hi, I am trying to delete document from Solr using Solr 4.7. Earlier, I was deleting the documents based on id which was working perfectly fine. However, now I am trying to delete the documents based on multiple attributes. Please find below my query which should delete a document based on two

Re: How to disable the admin interface

2015-10-04 Thread Shawn Heisey
On 10/3/2015 9:17 PM, Siddhartha Singh Sandhu wrote: > I want to disable the admin interface in SOLR. I understand that > authentication is available in the solrcloud mode but until that happens I > want to disable the admin interface in my prod environment. > > How can I do this? Why do you

Re: Recovery Thread Blocked

2015-10-04 Thread Rallavagu
As there were no responses so far, I assume that this is not a very common issue that folks come across. So, I went into source (4.6.1) to see if I can figure out what could be the cause. The thread that is locking is in this block of code synchronized (recoveryLock) { // to be air

Numeric Sorting with 0 and NULL Values

2015-10-04 Thread Todd Long
I'm trying to sort on numeric (e.g. TrieDoubleField) fields and running into an issue where 0 and NULL values are being compared as equal. This appears to be the "common case" in the FieldComparator class where the missing value (i.e. NULL) gets assigned for a 0 value (which is perfectly valid).

Re: How can I get a monotonically increasing field value for docs?

2015-10-04 Thread Gili Nachum
Glad I made that silly statement. I came to know cursorMark, after noticing how much inefficient is native deep paging in Solr, where each shard returns rowXstart worth of data to the shard servicing the query. I then *wrongly* assumed that cursorMark records the returned doc # of the result set

Re: How to disable the admin interface

2015-10-04 Thread Siddhartha Singh Sandhu
Hi Shawn and Andrew, I am on page with you guys about the ssh authentication and communicating with the API's that SOLR has to provide. I simply don't want the GUI as it is nobody will be able to access it once I set the policy on my server except for servers in the same network. Also, now that

Re: Unable to delete document from solr

2015-10-04 Thread Erick Erickson
Your URL does not specify a collection (or core if you're not running SolrCloud). Is that a typo? Earlier versions of Solr assumed (in some cases), "collection1". Best, Erick On Sun, Oct 4, 2015 at 4:56 AM, Tomoko Uchida wrote: > Hi, > > Sorry if I miss the