Re: Validate Query Syntax of Solr Request Before Sending

2011-02-18 Thread csj
Hi, FYI, I found out. I'm using the SolrQueryParser (tadaa...) It needs the solrconfig.xml and the solr.xml files in other to validate the query. Then I'm able to validate any query before sending it to the Solrserver, thereby preventing unnecessary requests. /Christian -- View this message i

Validate Query Syntax of Solr Request Before Sending

2011-02-16 Thread csj
Hi, I wonder if it is possible to let the user build up a Solr Query and have it validated by some java API before sending it to Solr. Is there a parser that could help with that? I would like to help the user building a valid query as she types by showing messages like "The query is not valid"

How effective are faceted queries ?

2011-02-03 Thread csj
Hi, I was wondering if there exists any performance characteristica for facets. As I understand facets, they are a subqueries, that will perform certain counts on the resultset. This mean that a facet will be evaluated on every shard along with the main query. But how will the facet query evalu

Re: match count per shard and across shards

2011-01-30 Thread csj
Hi, FYI: I figured out a solution my self. I wanted a smart way to get the shard count for a query (how many documents were found in each shard). The "smart" consisted in having all these counts in just one query using faceting. I was asking if Solr could help with this, e.g. had some smart info

Re: match count per shard and across shards

2011-01-29 Thread csj
I'm not sure I understand this. What is the difference between multible indexes and multible shards? -- View this message in context: http://lucene.472066.n3.nabble.com/match-count-per-shard-and-across-shards-tp2369627p2382499.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: match count per shard and across shards

2011-01-29 Thread csj
Interesting idea. I must investigate if this is a possibility - eg. how often will a document be reindexed from one shard to another - this is actually a possibility as a consequence of the way we configure our shards :-/ Thanks for the input! I was still hoping for a way to get that info from So

Re: match count per shard and across shards

2011-01-29 Thread csj
Indeed the distribution across shards should be transparent. In fact, as a client I should not need to know anything about any shard. But as the current state of Solr (1.4) dictate an interface where you - as a client - must provide a list of shards, then the responsibility has been shiftet over t

match count per shard and across shards

2011-01-29 Thread csj
Hi, Is it possible to construct a Solr query that will return the total number of hits there across all shards, and at the same time getting the number of hits per shard? I was thinking along the lines of a faceted search, but I'm not deep enough into Solr capabilities and query parameters to fi