RE: Distributed search results in "SocketException: Connection reset"

2013-06-30 Thread Shahar Davidson
Thanks Lance. If that is the case, are there any timeout mechanisms defined by Solr other than Jetty timeout definitions? Thanks, Shahar. -Original Message- From: Lance Norskog [mailto:goks...@gmail.com] Sent: Monday, July 01, 2013 4:18 AM To: solr-user@lucene.apache.org Subject: Re:

Re: Improving performance to return 2000+ documents

2013-06-30 Thread Jagdish Nomula
Solrconfig.xml has got entries which you can tweak for your use case. One of them is queryresultwindowsize. You can try using the value of 2000 and see if it helps improving performance. Please make sure you have enough memory allocated for queryresultcache. A combination of sharding and distributi

Re: Improving performance to return 2000+ documents

2013-06-30 Thread Erick Erickson
50M documents, depending on a bunch of things, may not be unreasonable for a single node, only testing will tell. But the question I have is whether you should be using standard Solr queries for this or building a custom component that goes at the base Lucene index and "does the right thing". Or e

Re: getting different search results for words with same meaning in Japanese language

2013-06-30 Thread Lance Norskog
The MappingCharFilter allows you to map both characters to one characters. If you do this during indexing and querying, searching with one should find the other. This is sort of like synonyms, but on a character-by-character basis. Lance On 06/18/2013 11:08 PM, Yash Sharma wrote: > Hi, > > we hav

Re: Distributed search results in "SocketException: Connection reset"

2013-06-30 Thread Lance Norskog
This usually means the end server timed out. On 06/30/2013 06:31 AM, Shahar Davidson wrote: Hi all, We're getting the below exception sporadically when using distributed search. (using Solr 4.2.1) Note that 'core_3' is one of the cores mentioned in the 'shards' parameter. Any ideas anyone? T

Re: cores sharing an instance

2013-06-30 Thread Peyman Faratin
That is what I had assumed but it appears not to be the case. A class (and its properties) of one core is not visible to another class in another core - in the same JVM. Peyman On Jun 29, 2013, at 1:23 PM, Erick Erickson wrote: > Well, the code is all in the same JVM, so there's no > reason

Re: cores sharing an instance

2013-06-30 Thread Peyman Faratin
I see. If I wanted to try the second option ("find a place inside solr before the core is created") then where would that place be in the flow of app waking up? Currently what I am doing is each core loads its app caches via a requesthandler (in solrconfig.xml) that initializes the java class th

Re: Improving performance to return 2000+ documents

2013-06-30 Thread Utkarsh Sengar
Thanks Erick/Peter. This is an offline process, used by a relevancy engine implemented around solr. The engine computes boost scores for related keywords based on clickstream data. i.e.: say clickstream has: ipad=upc1,upc2,upc3 I query solr with keyword: "ipad" (to get 2000 documents) and then mak

Re: No date.gap on pivoted facets

2013-06-30 Thread Jack Krupansky
Sorry, but Solr pivot faceting is based solely on "field" facets, not "range" (or "date") facets. You can approximate date gaps by making a copy of your raw date field and then manually "gap" (truncate) the date values so that the their discrete values correspond to your date gap. You can do

Distributed search results in "SocketException: Connection reset"

2013-06-30 Thread Shahar Davidson
Hi all, We're getting the below exception sporadically when using distributed search. (using Solr 4.2.1) Note that 'core_3' is one of the cores mentioned in the 'shards' parameter. Any ideas anyone? Thanks, Shahar. Jun 03, 2013 5:27:38 PM org.apache.solr.common.SolrException log SEVERE: org.

Solr cloud shard goes down when after many broken pipe exceptions

2013-06-30 Thread spcyrus
First ClientAbortException comes, which is expected as there is timeout on client side with stack trace as follows Jun 30, 2013 2:24:30 PM org.apache.solr.common.SolrException log SEVERE: null:ClientAbortException: java.net.SocketException: Broken pipe at org.apache.catalina.connector.Out

No date.gap on pivoted facets

2013-06-30 Thread Dotan Cohen
Consider the following query: select?q=*:* &facet=true &facet.date=added &facet.date.start=2013-04-01T00:00:00Z &facet.date.end=2013-06-30T00:00:00Z &facet.date.gap=%2b7DAYS &rows=0 &facet.pivot=added,provider In this query, the facet.date.gap is ignored and each individual second in faceted on. T

Solr on Several Machines Communication Fails

2013-06-30 Thread Ophir Michaeli
Hi, I' running Solr on 4 machines with the following configuration: Solr Vesrion: 4.3 Solr Cloud Machine 1: running shard 1 with embedded zokeeper - java -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf -DzkRun -DnumShards=2 -jar start.jar Machine 2: Running shard 2 ja