Re: how to sampling search result

2016-09-29 Thread Susmit
If you constrain random sample to fixed number instead of percentage , reservoir sampling can be used without even calculating the total match count. this can be done on client side. you could stop sampling after a max e.g 10 million. > On Sep 28, 2016, at 10:15 AM, Pushkar Raste

RE: JSON Facet "allBuckets" behavior

2016-09-29 Thread Karthik Ramachandran
Can someone help me understand? With Thanks & Regards Karthik Ramachandran From: Karthik Ramachandran Sent: Tuesday, September 27, 2016 12:21 PM To: solr-user Subject: JSON Facet "allBuckets" behavior While performing json faceting with "allBuckets" and "mincount",

Re: Archiving documents

2016-09-29 Thread John Bickerstaff
I'm not the expert, but I'm thinking you would need an external process to handle this. SOLR itself doesn't seem built to use it's own collection data to act on collection data (I'd love to be wrong about that). So - barring any corrections from the committers, I'm imagining you'd need to write

Re: Convert BytesRef to long in Solr 6.2

2016-09-29 Thread Chris Hostetter
: I am in the process of upgrading from Solr 5.5 to 6.2, so I changed NumericUtils to LegacyNumericUtils. ... : However, LegacyNumericUtils is the deprecated form of NumericUtils. It : says that I should use the PointValues class instead. However, unless I : am missing something, it

Convert BytesRef to long in Solr 6.2

2016-09-29 Thread Osborn, Kevin
I have the following code inside a Solr post filter. SortedDocValues docValues = DocValues.getSortedSet(context.reader, "my_field"); long x = LegacyNumericUtils.prefixCodedToLong(docValues.lookupOrd(b)) I am in the process of upgrading from Solr 5.5 to 6.2, so I changed NumericUtils to

Re: slow updates/searches

2016-09-29 Thread Erick Erickson
bq: The QTimes increase as the number of words in a phrase increase Well, there's more work to do as the # of words increases, and if you have large slops there's more work yet. Best, Erick On Wed, Sep 28, 2016 at 5:54 PM, Rallavagu wrote: > Thanks Erick. > > I have added

Re: Solr Suggester (AnalyzingInfix n BlendedInfix)

2016-09-29 Thread Erick Erickson
Mind you I have no proof that this will cure the problem in 5.2.1, but it seems like it'd be quick to test Good Luck! Erick On Wed, Sep 28, 2016 at 8:51 PM, Manohar Sripada wrote: > Sure Erick! I will try applying the patch. > > Thanks > > On Wednesday, September 28,

Re: solr hierarchical search hyponyms hypernyms

2016-09-29 Thread marcyborg
Hi Andrea, Thanks very much for your complete reply. You're right, I'm new about Solr, so I'm sorry if'm asking trivial questions, or I'not exaustive in my questions! About the scenario, I try to explain it: I have to load the thesaurus in Solr core, and the user would be able to query that

Re: Migrating to Solr 6.1.0 from 5.5.0

2016-09-29 Thread David Smiley
Arjun, Your input is a POLYGON -- as seen in the error message. The "Try JTS" was hopefully a clue -- on https://cwiki.apache.org/confluence/display/solr/Spatial+Search search for "JTS" and you should see how to set the spatialContextFactory to JTS, and a mention of needing JTS jar. I'll try

Archiving documents

2016-09-29 Thread Vasu Y
Hi, We would like to archive documents based on some criteria (like those that were not modified for more than an year OR are least used) in order to reduce storage requirements. I would like hear some of the best practices followed. How about having main collection and optionally an archive

Re: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Susheel Kumar
As Vincenzo mentioned above you shall try to check using telnet and if connection fails, then you should try to set http proxy on terminal/command line using this and then give try again with telnet. As long as telnet works, your code should also be able to connect export http.proxy=http://

Re: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Vincenzo D'Amore
Well, how have configured *cliend-side* zookeeper connection? I mean from the SolrJ side. And again as simple check to see if the proxy is working correctly with zookeeper you could use telnet. You should use the proxy hostname and proxy port available for zookeeper (it should be different from

Re: Issue with Solr & Kerberos

2016-09-29 Thread Loïc Chanel
Anyone has any idea ? Thanks, Loïc Loïc CHANEL System Big Data engineer MS - WASABI - Worldline (Villeurbanne, France) 2016-09-27 10:42 GMT+02:00 Loïc Chanel : > Hi Davide, > > Thanks for your quick answer. But I just updated all JCE packages and > restarted solr

RE: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Preeti Bhat
Hi Vincenzo, We are verified that the zookeeper is not working on http already. We are getting the error message stating that there is no response from server for both proxy and non proxy enabled browsers. I have setup the Zookeeper in AWS, SOLR is connecting to Zookeeper using zkCli.sh from

Re: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Vincenzo D'Amore
Well, looking around I found at this issue https://issues.apache.org/jira/browse/ZOOKEEPER-2250 As far as I know zookeeper doesn't support socks proxy (may be better ask in the zookeeper forum). Anyway in your email you wrote that zookeeper is "whitelisted in the proxy under TCP protocol", so I

Permission error using install_solr_service script.sh

2016-09-29 Thread Yago Riveiro
Hi, I'm having troubles to run the install_solr_service in Centos 7.2. I have this errors: -bash: /opt/usr/solr/bin/solr: Permission denied -bash: /opt/usr/solr/bin/solr: Permission denied the problematic line is the line 315 on install_solr_service.sh find "$SOLR_VAR_DIR" -type f -print0 |

Re: solr hierarchical search hyponyms hypernyms

2016-09-29 Thread marcyborg
Hi Shawn, Thanks for your reply! Until now, I was using Solr 5.4.1, and there were a lot of difference between schemaless mode and with schema mode. Reading your answer, it seems that now there is a better and simpler management about this feature, right? I'm going to become familiar with Solr

Re: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Mikhail Khludnev
Zookeeper clients connect on tcp not http. Perhaps SOCKS proxy might help, but I don't know exactly. On Thu, Sep 29, 2016 at 11:55 AM, Preeti Bhat wrote: > Hi Vincenzo, > > Yes, I have tried using the https protocol. We are not able to connect to > Zookeeper's. > > I

RE: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Preeti Bhat
Hi Vincenzo, Yes, I have tried using the https protocol. We are not able to connect to Zookeeper's. I am getting the below error message. Could not connect to ZooKeeper zkHost within 1 ms Thanks and Regards, Preeti Bhat -Original Message- From: Vincenzo D'Amore

solr deployment help

2016-09-29 Thread Ken Fan
halo solr apache, introduce me, my name is kenfan and i work in IT company, indonesian. i want to deploy solr 6.2.0 to openshift online. in openshift online i used jbossews-2.0. after that i upload a solr-webapps to webapps openshift online. i just followed tutorial around on net.. i still

Re: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Vincenzo D'Amore
Hi, not sure, have you tried to add proxy configuration for https ? System.setProperty("https.proxyHost", ProxyHost); System.setProperty("https.proxyPort", ProxyPort); Bests, Vincenzo On Thu, Sep 29, 2016 at 10:12 AM, Preeti Bhat wrote: > HI All, > > Pinging this

RE: Connect to SolrCloud using proxy in SolrJ

2016-09-29 Thread Preeti Bhat
HI All, Pinging this again. Could someone please advise. Thanks and Regards, Preeti Bhat From: Preeti Bhat Sent: Wednesday, September 28, 2016 7:14 PM To: solr-user@lucene.apache.org Subject: Connect to SolrCloud using proxy in SolrJ Hi All, I am trying to connect to the Solrcloud using the