Re: Solr - Multiple Facet Exclusion for the same Field

2013-07-22 Thread Ralf Heyde
Just found it. Use {!ex=c key=ckey} ... On 07/22/2013 11:35 AM, Ralf Heyde wrote: Hello, i need different (multiple) Facet exclusions for the same field. This approach works: http://server/core/select/?q=*:* &fq={!tag=b}brand:adidas &fq={!tag=c}color:red &facet.field=

Solr - Multiple Facet Exclusion for the same Field

2013-07-22 Thread Ralf Heyde
Hello, i need different (multiple) Facet exclusions for the same field. This approach works: http://server/core/select/?q=*:* &fq={!tag=b}brand:adidas &fq={!tag=c}color:red &facet.field={!ex=b}brand &facet.field={!ex=c}brand &facet.field={!ex=b,c}brand &facet.field=brand &facet=true&fac

Re: Need advice on performing 300 queries per second on solr index

2013-07-16 Thread Ralf Heyde
Hello, 1. It depends on your query types & data (complexity, featureset, paging) - geospatial could be something with calculation inside solr? 2. It depends massively on the document size & field-selection (load a hundred of 100MB documents can take some time) 3. It depends especially on your d

Re: Restrict/change "numFound" solr result

2013-07-07 Thread Ralf Heyde
Can you explain a little bit more, what you are trying to do? I don't get, what you want to do. On 07/06/2013 08:39 AM, aniljayanti wrote: Hi, I am working on solr 3.3. i am getting total 120 records with below query, in response xml "numFound" is showing 540 records. http://localhost:8080/te

Re: The book: Solr 4.x Deep Dive - Early Access Release #1

2013-06-21 Thread Ralf Heyde
I think people will pay 10$ :) On 06/21/2013 03:04 PM, Jack Krupansky wrote: I’m expecting to self-publish the first Early Access Release for my book, Solr 4.x Deep Dive, on lulu.com sometime today. It is still far from finished and needs lots of work and missing a lot of important areas (Sol

Disable Replication for all Cores in a single Command

2013-06-19 Thread Ralf Heyde
Hello Folks, is it possible to disable the replication for ALL cores using one command? We currently use Solr 3.6. Currently we have a curl operation, which fires: http://:/solr//admin/replication/index.jsp?poll=disable In the documentation there is a URL-Command which seems to be correct, b

Re: How to get SolrJ-serialization / binary-size statistics ?

2013-06-18 Thread Ralf Heyde
Hello, just for information: the Solution might look like (1st approach): I take the sourcecode of the BinaryResponsewriter and surround the serialization with some tracking methods. Then I create a custom QueryResponseWriter, which implements the binary Response writer and voila, i get my sta

How to get SolrJ-serialization / binary-size statistics ?

2013-06-17 Thread Ralf Heyde
Hi Everybody, The as is situation: We have an application (on Server 1), which fires many (up to 20) Solr-Queries (on Server 2) to produce the result. Since we have network latency for transport and serialization, we will shift the Query-Part to Server 2. The idea behind is, that the complete

Re: DisMax Query & Field-Filters (ASCIIFolding)

2013-02-12 Thread Ralf Heyde
t is actually parsed. > > 4. If there is any chance that you have modified your field type since > originally indexing the data, be sure to completely reindex after ANY > change > in the field types. > > -- Jack Krupansky > > -Original Message- > From: Ralf H

Re: DisMax Query & Field-Filters (ASCIIFolding)

2013-02-12 Thread Ralf Heyde
DisMax Query & Field-Filters (ASCIIFolding) > > Hi Ralf, > > Dismax querparser does not allow fielded queries. e.g. field:something > > Consider using edismax query parser instead. > > Also debugQuery=on will display informative output how query parsed > analyzed

DisMax Query & Field-Filters (ASCIIFolding)

2013-02-12 Thread Ralf Heyde
Hello, I have an interesting behaviour. I have a FieldType "Text_PL". This type is configured as: So, one filter in the chain is the AS

Re: Facetting inside a custom component

2012-09-06 Thread Ralf Heyde
.add(fc, s.numDocs(qp.parse(fc), results.docSet)); } // in counts you have your facet-counts } catch (ParseException pe) { pe.printStackTrace(); } Original-Nachricht > Datum: Thu, 06 Sep 2012 13:58:29 +0200 > Von: "Ralf Heyde" > An: solr-user@lucene.apache.o

Facetting inside a custom component

2012-09-06 Thread Ralf Heyde
Hello, i'm currently devoloping a custom component in Solr. This component works fine. The problem I have is, I only have an access to the searcher which gives me the option to fire e.g. BooleanQueries. This searcher gives me a result, which I have to iterate to calculate informations which co