Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 114 by
ricardo....@gmail.com: Parameter FL can't be overwritten
with extra parameters
http://code.google.com/p/solrmeter/issues/detail?id=114
What steps will reproduce the problem?
1. Set a custom FL parameters int extra parameter list
2. Run a load test
3. Check the output, SolrMeter will add two FL: *,score and the one you
defined.
What is the expected output? What do you see instead?
I would expect to see my field list plus the score if not already there. I
see both
What version of the product are you using? On what operating system?
0.3 on OS X
Please provide any additional information below.
The following small patch fixes the issue
---
solrmeter/src/main/java/com/plugtree/solrmeter/model/generator/ComplexQueryGenerator.java
(revision 316)
+++
solrmeter/src/main/java/com/plugtree/solrmeter/model/generator/ComplexQueryGenerator.java
(working copy)
@@ -107,8 +107,8 @@
query.setQuery(queryExtractor.getRandomQuery());
// query.setQueryType(executor.getQueryType());
query.setQueryType(queryType);
+ this.addExtraParameters(query);
query.setIncludeScore(true);
- this.addExtraParameters(query);
if(useFacets) {
addFacetParameters(query);
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings