Shard tolerant partial results

2013-07-01 Thread Phil Hoy
Hi, When doing distributed searches with shards.tolerant set whilst the hosts for a slice are down and therefore the response is partial, how best that inferred as we would like to not cache the results upstream and perhaps inform the end user in some way. I am aware that shards.info could be

RE: Solr load balancer

2013-02-13 Thread Phil Hoy
Let me know the JIRA number, I'd love to see work in this area. -Original Message- From: Phil Hoy [mailto:p...@brightsolid.com] Sent: Tuesday, January 29, 2013 11:33 AM To: solr-user@lucene.apache.org Subject: RE: Solr load balancer Hi Erick, Thanks, I have read the blogs you cit

RE: Solr load balancer

2013-01-31 Thread Phil Hoy
1 AM, Phil Hoy wrote: > Hi, > > I would like to experiment with some custom load balancers to help > with query latency in the face of long gc pauses and the odd > time-consuming query that we need to be able to support. At the moment > setting the socket timeout via the H

RE: Solr load balancer

2013-01-29 Thread Phil Hoy
m. Leading to more memory issues perhaps in a "non-virtuous cycle". FWIW, Erick On Fri, Jan 18, 2013 at 5:41 AM, Phil Hoy wrote: > Hi, > > I would like to experiment with some custom load balancers to help with query > latency in the face of long gc pauses and the odd tim

Solr load balancer

2013-01-18 Thread Phil Hoy
Hi, I would like to experiment with some custom load balancers to help with query latency in the face of long gc pauses and the odd time-consuming query that we need to be able to support. At the moment setting the socket timeout via the HttpShardHandlerFactory does help, but of course it can o

RE: multi-core sharing synonym map

2012-10-12 Thread Phil Hoy
ugh I think there would need to be a nasty global variable to hold a reference to it... -Simon On Fri, Oct 12, 2012 at 12:27 PM, Phil Hoy wrote: > Hi, > > We have a multi-core set up with a fairly large synonym file, all > cores share the same schema.xml and synonym file but when

RE: Unique terms without faceting

2012-10-10 Thread Phil Hoy
The Solr TermsComponent: http://wiki.apache.org/solr/TermsComponent -- Jack Krupansky -Original Message- From: Phil Hoy Sent: Wednesday, October 10, 2012 11:45 AM To: solr-user@lucene.apache.org Subject: Unique terms without faceting Hi, I know that you can use a facet query to get the u

Unique terms without faceting

2012-10-10 Thread Phil Hoy
Hi, I know that you can use a facet query to get the unique terms for a field taking account of any q or fq parameters but for our use case the counts are not needed. So is there a more efficient way of finding just unique terms for a field? Phil

RE: trunk cloud ui not working

2012-05-22 Thread Phil Hoy
issue. On May 21, 2012, at 1:15 PM, Phil Hoy wrote: > After further investigation I have found that it is not a problem on firefox, > only chrome and IE. > > Phil > > -Original Message- > Sent: 21 May 2012 18:05 > To: solr-user@lucene.apache.org > Subjec

RE: trunk cloud ui not working

2012-05-21 Thread Phil Hoy
After further investigation I have found that it is not a problem on firefox, only chrome and IE. Phil -Original Message- Sent: 21 May 2012 18:05 To: solr-user@lucene.apache.org Subject: trunk cloud ui not working Hi, I am running from the trunk and the localhost:8983/solr/#/~cloud pa

RE: Custom Sharding on solrcloud

2012-03-08 Thread Phil Hoy
LogUpdateProcessorFactory(), new DistributedUpdateProcessorFactory(), new RunUpdateProcessorFactory() So just use Log and Run instead to get your old behavior. - Mark On Mar 7, 2012, at 1:37 PM, Phil Hoy wrote: > Hi, > > We have a large index and would like to

Custom Sharding on solrcloud

2012-03-07 Thread Phil Hoy
Hi, We have a large index and would like to shard by a particular field value, in our case surname. This way we can scale out to multiple machines, yet as most queries filter on surname we can use some application logic to hit just the one core to get the results we need. Furthermore as we ant

RE: removing cores solrcloud

2012-02-01 Thread Phil Hoy
e.org Subject: Re: removing cores solrcloud On Jan 31, 2012, at 1:03 PM, Phil Hoy wrote: > Hi Mark, > > I am using the embedded zookeeper server, how would you recommend I connect > to it so that I can remove the missing core or is it only possible when using > a stand-alone zooke

RE: removing cores solrcloud

2012-01-31 Thread Phil Hoy
zookeepers state too. I am currently using version 4.0.0.2011.12.12.09.26.56. Phil -Original Message- From: Mark Miller [mailto:markrmil...@gmail.com] Sent: 31 January 2012 16:09 To: solr-user@lucene.apache.org Subject: Re: removing cores solrcloud On Jan 31, 2012, at 4:49 AM, Phil

removing cores solrcloud

2012-01-31 Thread Phil Hoy
Hi, I am running solrcloud and i am able to add cores http://wiki.apache.org/solr/SolrCloud#Creating_cores_via_CoreAdmin but how does one remove cores. If i use the core admin unload command, distributed queries then error as they still query the removed core. Do I need to update zookeeper som

solrcloud replicating new cores

2012-01-11 Thread Phil Hoy
Hi, Is it possible to configure solr using solrcloud and the distribution handler such that if a new core is added to the master then that core is added and replicated to the slaves. Phil

RE: DirectSolrSpellChecker on request specified field.

2011-11-28 Thread Phil Hoy
on request specified field. technically it could? I'm just not sure if the current spellchecking apis allow for it? But maybe someone has a good idea on how to easily expose this. I think its a good idea. Care to open a JIRA issue? On Mon, Nov 28, 2011 at 1:31 PM, Phil Hoy wrote: > Hi,

DirectSolrSpellChecker on request specified field.

2011-11-28 Thread Phil Hoy
Hi, Can the DirectSolrSpellChecker be used for autosuggest but defer to request time the name of the field to use to create the dictionary. That way I don't have to define spellcheckers specific to each field which for me is not really possible as the fields I wish to spell check are DynamicFie

RE: Sort question

2011-11-25 Thread Phil Hoy
You might be able to sort by the map function q=*:*&sort=map(price,0,100, 10) asc, price asc. Phil -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: 25 November 2011 13:49 To: solr-user@lucene.apache.org Subject: Re: Sort question Not that I know of. Yo

RE: Query a field with no value or a particular value.

2011-11-25 Thread Phil Hoy
* -field:[* TO *] or q=*:*&fq=-field:[* TO *] BTW, the logic of field:yes -field:[* TO *] makes no sense You're saying "find me all the fields containing the value "yes" and remove from that set all the fields containing any value at all".... Best Erick On Fri, Nov 25,

Query a field with no value or a particular value.

2011-11-25 Thread Phil Hoy
Hi, Is it possible to constrain the results of a query to return docs were a field contains no value or a particular value? I tried ?fq=(field:yes OR -field:[* TO *]) but I get no results even though queries with either ?fq=field:yes or ?fq=-field:[* TO *]) do return results. Phil

NullPointerException with distributed facets

2011-11-22 Thread Phil Hoy
Hi, When doing a distributed query in solr 4.0 (4.0.0.2011.06.25.15.36.22) with facet.missing=true and facet.limit=20 I get a NullPointerException. By increasing the facet limit to 200 or setting facet missing to false it seems to fix it. The shards both contain the field but one shard always h

RE: SolrCloud with large synonym files

2011-11-02 Thread Phil Hoy
[mailto:markrmil...@gmail.com] Sent: 02 November 2011 15:06 To: solr-user@lucene.apache.org Subject: Re: SolrCloud with large synonym files On Nov 2, 2011, at 7:47 AM, Phil Hoy wrote: > Hi, > > I am running solrcloud and a file in the Dbootstrap_confdir is a large large > synonym

RE: SolrCloud with large synonym files

2011-11-02 Thread Phil Hoy
rflow. http://stackoverflow.com/questions/6747664/solr-and-big-synonym-file Yung-chung Lin 2011/11/2 Phil Hoy > Hi, > > I am running solrcloud and a file in the Dbootstrap_confdir is a large > large synonym file (~50mb ) used by a SynonymFilterFactory configured in > the schema.xm

SolrCloud with large synonym files

2011-11-02 Thread Phil Hoy
Hi, I am running solrcloud and a file in the Dbootstrap_confdir is a large large synonym file (~50mb ) used by a SynonymFilterFactory configured in the schema.xml. When i start solr I get a zookeeper exception presumably because the file size is too large. Caused by: org.apache.zookeeper.Keep