Author: ssanbern
Date: 2007-06-27 09:45:17 +0200 (Wed, 27 Jun 2007)
New Revision: 5440
Modified:
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/VideoSearchCommand.java
Log:
add searchquery
Modified:
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/VideoSearchCommand.java
===================================================================
---
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/VideoSearchCommand.java
2007-06-27 07:45:08 UTC (rev 5439)
+++
branches/2.14/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/VideoSearchCommand.java
2007-06-27 07:45:17 UTC (rev 5440)
@@ -81,6 +81,9 @@
public ResultList<? extends ResultItem> execute() {
final BasicResultList<ResultItem> searchResult = new
BasicResultList<ResultItem>();
+
+ String transformedQuery = getTransformedQuery();
+ searchResult.addField("searchquery", transformedQuery);
searchResult.setHitCount(0);
try {
final Document doc = this.getXmlResult();
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits