techact / solrmeter

Automatically exported from code.google.com/p/solrmeter
0 stars 0 forks source link

Create Different Query Modes #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The current query mode would be the "standard" query mode, where a whole query 
to Solr is created using different files, one for the query (the q parameter), 
one for the filter query, one for the faceting, etc. This kind of query mode 
allows more "random" queries, specially when the Solr instance has never been 
lounched into production. 
A new query mode, called "external" creates a query from a file that contains 
the whole thing inside it. Query, filter query, rows, query type, etc. The 
external file is now going to be just one for queries with lines like:
q="Maxtor Corp"+OR+Belkin&rows=5&fq=inStock:true&facet=true&facet.field=price
... or
q=Apple AND price:[0 TO 100] OR popularity:[0 TO 3]&sort=popularity 
desc&fq=weight:[10 TO *]&rows=100

This is a much more useful mode to use when the Solr instance has already 
sample queries (taken from a log file for example) to execute.

Original issue reported on code.google.com by tflo...@gmail.com on 3 Jan 2011 at 1:18

GoogleCodeExporter commented 8 years ago
This funcionality has been created by edoardo.tosca, see 
http://code.google.com/p/solrmeter/issues/detail?id=48

Original comment by tflo...@gmail.com on 3 Jan 2011 at 1:19

GoogleCodeExporter commented 8 years ago

Original comment by tflo...@gmail.com on 18 Feb 2011 at 7:54