Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Kent Mu
Thanks, I got it, Erick! the size of our index data is more than 30GB every year now, and it is still growing up, and actually our solr now is running on a virtual machine. so I wonder if we need to deploy solr in a physical machine, or I can just upgrade the physical memory of our Virtual machine

Re: Heatmap in JSON facet API

2016-11-01 Thread David Smiley
I plan on adding this in the near future... hopefully for Solr 6.4. On Mon, Oct 31, 2016 at 7:06 AM Никита Веневитин wrote: > I've built query as described in https://cwiki.apache.org/confluence/x/ZYDxAQ";>Heatmap Faceting, > but I would like to get same results using JSON facet API > > 2016-10-

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Erick Erickson
Kent: OK, I see now. Then a minor pedantic point... It'll avoid confusion if you use master and slaves rather than master and replicas when talking about non-cloud setups. The equivalent in SolrCloud is leader and replicas. No big deal either way, just FYI. Best, Erick On Tue, Nov 1, 2016 at 8

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Kent Mu
Thanks a lot for your reply, Shawn! no other applications on the server, I agree with you that we need to upgrade physical memory, and allocate the reasonable jvm size, so that the operating system have spare memory available to cache the index. actually, we have nearly 100 million of data every

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Kent Mu
well, we do not use solrcloud, just simple solr deployment - one master with some relicas. I agree with Shawn's opinion, I think we need to upgrade the physical memory, and allocate the reasonable jvm size. Thank you all the same! Best Regards! Kent 2016-11-02 4:52 GMT+08:00 Erick Erickson : >

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
My bad. Thanks, Erik. Gin Best Wishes, Gintautas Sulskus On Tue, Nov 1, 2016 at 3:26 PM, Erik Hatcher wrote: > Now you're asking a dismax parser question. dismax does not support * or > *:* directly, but rather in q.alt if the query is empty. > >Erik > > > On Nov 1, 2016, at 11:15, Gintau

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Erick Erickson
This is a bit confusing as you're mixing terms from older master/slave Solr with SolrCloud. You say "our deployment is one master with 10 replicas" and "we index data to the master, and search data from the replicas via load balancing" So how are you getting your data to the replicas? There is n

Re: Posting files 405 http error

2016-11-01 Thread Erick Erickson
What does the solr log say? I'd tail the Solr log while sending the query, that'll do two things: 1> insure that your request is actually getting to the Solr you expect. 2> the details in the solr log are often much more helpful than what gets returned to the client. Best, Erick On Tue, Nov 1,

Posting files 405 http error

2016-11-01 Thread Pablo Anzorena
Hey, I'm indexing a file with a delete query in xml format using the post.jar. I have two solrclouds, which apparently have all the same configurations. The thing is that I have no problem when indexing in one of them, but the other keeps giving me this error: SimplePostTool version 5.0.0 Posting

Poor Solr Cloud Query Performance against a Small Dataset

2016-11-01 Thread Dave Seltzer
Hello! I'm trying to utilize Solr Cloud to help with a hash search problem. The record set has only 4,300 documents. When I run my search against a single core I get results on the order of 10ms. When I run the same search against Solr Cloud results take about 5,000 ms. Is there something about

Re: CodaHale metrics for Solr 6?

2016-11-01 Thread Walter Underwood
Anybody? It seems like this would be a solution for SOLR-4735, which has been open for 3.5 years. https://issues.apache.org/jira/browse/SOLR-4735 wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oc

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Fuad Efendi
Quote: It takes place not often. after analysis, we find that only when the  replicas Synchronous Data from master solr server. it seem that when the  replicas block search requests when synchronizing data from master, is that  true?  Solr makes new searcher available after replication complete,

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Erik Hatcher
Now you're asking a dismax parser question. dismax does not support * or *:* directly, but rather in q.alt if the query is empty. Erik > On Nov 1, 2016, at 11:15, Gintautas Sulskus > wrote: > > I store date as Long: > > > positionIncrementGap="0"/> > > Eric, at first glance it seems

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
I store date as Long: Eric, at first glance it seems that your given advice to separate nested parsers worked. I can see the query in the logs and it returns the expected data. Thanks! Using the same opportunity: How do I set $term to match everything in qq={!dismax qf=‘….’ v=$term}, e.g. lik

Re: Add to the contributors group

2016-11-01 Thread Shawn Heisey
On 11/1/2016 8:21 AM, Lee Unsworth wrote: > Could you add me to the contributors group for > https://wiki.apache.org/solr/ please. My user is Lee Unsworth. Done. https://wiki.apache.org/solr/ContributorsGroup

Add to the contributors group

2016-11-01 Thread Lee Unsworth
Hi, Could you add me to the contributors group for https://wiki.apache.org/solr/ please. My user is Lee Unsworth. Thanks

Re: Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Shawn Heisey
On 11/1/2016 1:07 AM, Kent Mu wrote: > Hi friends! We come across an issue when we use the solrj(4.9.1) to > connect to solr server, our deployment is one master with 10 replicas. > we index data to the master, and search data from the replicas via > load balancing. the error stack is as below: *Ti

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Erik Hatcher
What’s the field and type definition of submit_date? Could that be the issue? Also, one thing you could do is separate the nested parsers like this: q={!boost b=… v=$qq} qq={!dismax qf=‘….’ v=$term} Relying on `v` to be the string after the closing curly bracket is sometimes error-pro

Re: Using a library from blob-store without "add-runtimelib"

2016-11-01 Thread Noble Paul
you could add an entry to solrconfig.xml I have not tested it muself, but it should work On Mon, Oct 31, 2016 at 11:38 PM, Samuel García Martínez wrote: > Hi! > > I'm wondering if there's any possibility to tell the current collection to > use a library stored in the blobstore using the solrco

Re: Custom authentication plugin & inter-node auth

2016-11-01 Thread Noble Paul
It should be related to SOLR-9692: blockUnknown property makes inter-node communication impossible This is fixed in 6.3 On Tue, Nov 1, 2016 at 8:44 AM, devanshic02 wrote: > > Hi > > I am facing same issue > I have a custom authentication plugin and it is calling admin/info/key when > the PKI

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
Hi Markus, I have been fiddling with the query for a while and it seems that the "boost" line is the culprit. Unless I comment it out, I always get the NullPointerExcpetion: {!boost b=recip(ms(NOW/HOUR, submit_date),3.16e-11,1,1)} Gin On Mon, Oct 31, 2016 at 8:57 PM, Markus Jelsma wrote: > Doe

Timeout occured while waiting response from server at: http://***/solr/commodityReview

2016-11-01 Thread Kent Mu
Hi friends! We come across an issue when we use the solrj(4.9.1) to connect to solr server, our deployment is one master with 10 replicas. we index data to the master, and search data from the replicas via load balancing. the error stack is as below: *Timeout occured while waiting res