CoreAdminRequest User Credentials 'Unauthorized'

2013-11-26 Thread Snubbel
(CoreAdminParams.CoreAdminAction.RELOAD); requestReload.process(getSolrServer()); My SolrServer knows the user and password, but in the HttpRequest this information is not used, so I get an 'unauthorized' response. Does anyone know how to make CoreAdminRequest use the UserCredentials? Best regards, Snubbel --

Re: Sorting dependent on user preferences with FunctionQuery

2013-10-01 Thread Snubbel
Hello, thanks for your answers. I checked your suggestions, but I'm not quite there yet. With field collapsing, I only get the top result per category, which is not what I want, I want to have all results! And boosting is quite an interesting idea. With the following I get what I need, all resul

Sorting dependent on user preferences with FunctionQuery

2013-09-26 Thread Snubbel
Hello, I want to present to different user groups a search result in different orders. Say, i have customer group A, which I know prefers Books, I want to get Books at the top of my query result, DVDs at the bottom. And for group B, preferring DVD, these first. In my index I have a field of type t

Spellchecker suggests Tokens

2013-08-06 Thread Snubbel
Hello, I have a problem getting stated with SolrDirectSpellChecker. I use NGramFilterFactory to index and query for strings of length greater than 3. So, if I index the word "aQuiteLongWord" I can search for "long" and get the result. Now I'm adding the DirectSolrSpellChecker. And when searching

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
problem. So, could this be a bug? Best regards, Snubbel -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Server-Add-causes-java-net-SocketException-No-buffer-space-available-tp4070533p4070981.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:352) ... 36 more Any other ideas on what might be my problem here? Best regards, Snubbel -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Server-Add-causes-java-net-SocketException-No-bu

Re: Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-17 Thread Snubbel
Hello, thanks for your replies, maybe I'm opening to many connections, only I don't know how, because I don't do this explicitly. Here is a snippet of my code, can anyone explain, where the connections are opend and how I can close them? solrServer = new HttpSolrServer(url); QueryResponse result

Re: Atomic Update Configurations how to?

2013-06-14 Thread Snubbel
Thanks, I started out with the original solrconfig and schema now, and it works. Just need to put in everything we are missing and figure out what the problem really was. Best regards Snubbel -- View this message in context: http://lucene.472066.n3.nabble.com/Atomic-Update-Configurations

Solr Server Add causes java.net.SocketException: No buffer space available

2013-06-14 Thread Snubbel
2) I did use the solrconfig and schema from the 4.3 example, just added some custom fields. I did not have any config for maximum connections in my solrconfig for 4.0. Did anyone have that behavior too? What do I have to configure to fix this? Best regards, Snubbel -- View this messa

Atomic Update Configurations how to?

2013-06-12 Thread Snubbel
Hello, we are upgrading from Solr 4.0 to Solr 4.3 because we want to use Atomic Updates. But I think something in our Configuration ist not correct yet. When updating Documents I get the following exception: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: RunUpdateProcesso