RE: Solrj - when a request fails

2011-09-23 Thread Gunther, Andrew
All the solr methods look like they should throw those 2 exceptions. Have you tried the DirectXmlRequest method? up.process(solrServer); public UpdateResponse process( SolrServer server ) throws SolrServerException, IOException { long startTime = System.currentTimeMillis(); UpdateRes

RE: Using the post tool - too many files in a folder?

2008-01-09 Thread Gunther, Andrew
Is there a practical reason behind trying to post 1m different files instead of several large files. If this is a unix setup can you try post.sh instead. -Original Message- From: zqzuk [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 6:14 AM To: solr-user@lucene.apache.org Subj

RE: Commit performance

2007-08-21 Thread Gunther, Andrew
I've seen even longer commit times with our 2GB index and have not had a chance to look into it deeper. What I have noticed is when there are Searchers registered commits take a lot longer time. Perhaps looking at the optional attributes for commit (waitSearcher, waitFlush) would help. Since we

RE: Index HotSwap

2007-08-21 Thread Gunther, Andrew
I guess the first question is why you have to swap in a big index, instead of rsyc'ng or another method. I've entertained the idea of putting a load balancer in front of two solr instances. In this scenario take one off-line swap in the index, bring it back on and then bring down the other. N

RE: fetch only facets

2007-03-16 Thread Gunther, Andrew
Would you set rows=0. -Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 16, 2007 12:24 PM To: solr-user@lucene.apache.org Subject: fetch only facets Is their a way to not return any docs and only facets? I tried setting the fl equal to bl

RE: Bug ? unique id

2007-03-16 Thread Gunther, Andrew
Why not use CopyField and put an analyzer on that field? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 16, 2007 10:54 AM To: solr-user@lucene.apache.org Subject: Re: Bug ? unique id because we want to be able to search our unique id's :) and we

RE: Restrict Servlet Access

2007-03-15 Thread Gunther, Andrew
I'm trying to get my head around the architecture where Solr sits behind a firewall. Can someone tease this out for me. Is a jndi context establishing the connection to the app server? I'm naïve in thinking how one talks to the solr servlet behing a firewall. I apologize up front for the nai

Restrict Servlet Access

2007-03-14 Thread Gunther, Andrew
What are people doing to restrict UpdateServlet access on production installs of Solr. Are people removing that option and rotating in a new index or restricting access from the jetty side. Cheers, Andrew

RE: facet optimizing

2007-03-01 Thread Gunther, Andrew
Back on facet optimizing again. Can someone post their magic formula for filterCache (Erik?) We've hit a plateau around 1.7mill docs and my response times have suffered when filtering. Have adjusted filtercache up and down all day but can't seem to get a good handle on these values. What does

RE: Faceted search glitch???

2007-02-09 Thread Gunther, Andrew
Try surrounding you mutli-word query in quotes: education_facet:"High School". Also do you want to use the filter query param instead fq=education_facet:"High School" -Andrew -Original Message- From: Peter McPeterson [mailto:[EMAIL PROTECTED] Sent: Friday, February 09, 2007 4:22 PM To:

RE: facet optimizing

2007-02-07 Thread Gunther, Andrew
t: Re: facet optimizing How many unique values do you have for those 6 fields? And are those fields multiValued or not? Single valued facets are much faster (though not realistic in my domain). Lots of values per field do not good facets make. Erik On Feb 7, 2007, at 11:10 AM, Gu

facet optimizing

2007-02-07 Thread Gunther, Andrew
Any suggestions on how to optimize the loading of facets? My index is roughly 35,000 and I am asking solr to return 6 six facet fields on every query. On large result sets with facet params set to false searching is zippy, but when set to true, and facet fields designated, it takes some time to