RE: Solr Spellcheck

2017-11-29 Thread alessandro.benedetti
"Can you please suggest suitable configuration for spell check to work correctly. I am indexing all the words in one column. With current configuration I am not getting good suggestions " This is very vague. Spellchecking is working correctly according to your configurations... Let's start from

Re: OutOfMemoryError in 6.5.1

2017-11-29 Thread Toke Eskildsen
Walter Underwood wrote: > I set this in jetty.xml, but it still created 4000 threads. > > > > > > That sets a limit on the number of threads started by Jetty to handle incoming connections, but does not affect how many threads Solr can create. I guess you have ~20 shards in your

Re: OutOfMemoryError in 6.5.1

2017-11-29 Thread Walter Underwood
I knew about SOLR-7433, but I’m really surprised that 200 incoming requests can need 4000 threads. We have four shards. Why is there a thread per shard? HTTP can be done async: send1, send2, send3, send4, recv1 recv2, recv3, recv4. I’ve been doing that for over a decade with HTTPClient. wunde

How to debug slow update queries?

2017-11-29 Thread S G
Hi, Our logs are spewing a lot of the following: org.apache.solr.core.SolrCore; slow: [my_coll_shard8_replica1] webapp=/solr path=/update params={wt=javabin&version=2} status=0 QTime=1736 And the QTime is as high as 3-4 seconds in some cases. Shouldn't the slow logger print the document also wh

Re: How to debug slow update queries?

2017-11-29 Thread Erick Erickson
That would potentially mean a _lot_ of info coming out in the logs, I know of 40M documents that have been sent for instance. I typically batch 1,000 docs per update request, that'd mean dumping all of them. The Solr logs should have the update request in close proximity to the slow query message,

Basic SolrCloud help

2017-11-29 Thread Steve Pruitt
A couple of steps are still not clear to me. Currently, I have my schema defined. Plus, I have six VM's. I have ZK running on three of the VM's. Now I want to get a SolrCloud cluster running on other three. I may use only two VM's and use my local machine as the third node. I want ZK to manage

Re: /export LongPointField

2017-11-29 Thread nandakishorek
I'm using 6.6.2. I'll upgrade when to 7 when I can. Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Compile problems with anonymous SimpleCollector in custom request handler

2017-11-29 Thread Tod Olson
Hi everyone, I'm modifying a existing custom request handler for an open source project, and am looking for some help with a compile error around an anonymous SimpleCollector. The build failure message from ant and the source of the specific method are below. I am compiling on a Mac with Java 1

Re: Basic SolrCloud help

2017-11-29 Thread Shawn Heisey
On 11/29/2017 11:44 AM, Steve Pruitt wrote: > I want ZK to manage the config files. The config set and the solr.xml file. > I wanted to upload them explicitly. > > This is where my questions begin. > I assume I upload the config files prior to starting Solr? If you're storing solr.xml in ZK, th

Re: How to debug slow update queries?

2017-11-29 Thread Shawn Heisey
On 11/29/2017 10:29 AM, S G wrote: > Shouldn't the slow logger print the document also which took so long? > The /select query and /get query handlers do a good job of helping in such > cases as the entire URL is present there (I know its GET vs POST thing). > But we should probably print the POST

Re: OutOfMemoryError in 6.5.1

2017-11-29 Thread Toke Eskildsen
Walter Underwood wrote: > I knew about SOLR-7433, but I’m really surprised that 200 incoming requests > can need 4000 threads. > > We have four shards. For that I would have expected at most 800 Threads. Are you perhaps doing faceting on multiple fields with facet.threads=5? (kinda grasping at

Re: Compile problems with anonymous SimpleCollector in custom request handler

2017-11-29 Thread Shawn Heisey
On 11/29/2017 2:27 PM, Tod Olson wrote: > I'm modifying a existing custom request handler for an open source project, > and am looking for some help with a compile error around an anonymous > SimpleCollector. The build failure message from ant and the source of the > specific method are below. I

Re: OutOfMemoryError in 6.5.1

2017-11-29 Thread Walter Underwood
No faceting. Highlighting. We have very long queries, because students are pasting homework problems. I’ve seen 1000 word queries, but we truncate at 40 words. We do as-you-type results, so we also have ngram fields on the 20 million solved homework questions. This bloats the index severely. A

Re: Huge Query execution time for multiple ORs

2017-11-29 Thread Faraz Fallahi
Hi Toke, Just to be clear and to understand. Does this mean that a query of the form author:name1 OR author:name2 OR author:name3 Is being processed like e.g. 1 query against the index with author:name1 getting 4 result Then 1 query against the index with author:name2 getting 3 result Then 1 que

does the payload_check query parser have support for simple query parser operators?

2017-11-29 Thread John Anonymous
I would like to use wildcards and fuzzy search with the payload_check query parser. Are these supported? {!payload_check f=text payloads='NOUN'}apple~1 {!payload_check f=text payloads='NOUN'}app* Thanks