Author: magnuse
Date: 2006-04-05 19:40:42 +0200 (Wed, 05 Apr 2006)
New Revision: 2725

Modified:
   
trunk/src/java/no/schibstedsok/front/searchportal/command/AbstractSimpleFastSearchCommand.java
   
trunk/src/java/no/schibstedsok/front/searchportal/configuration/FastConfiguration.java
   
trunk/src/java/no/schibstedsok/front/searchportal/result/FastSearchResult.java
Log:
Renamed synonyms to relevantQueries.


Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/command/AbstractSimpleFastSearchCommand.java
===================================================================
--- 
trunk/src/java/no/schibstedsok/front/searchportal/command/AbstractSimpleFastSearchCommand.java
      2006-04-05 15:32:45 UTC (rev 2724)
+++ 
trunk/src/java/no/schibstedsok/front/searchportal/command/AbstractSimpleFastSearchCommand.java
      2006-04-05 17:40:42 UTC (rev 2725)
@@ -373,7 +373,7 @@
             }
 
 
-            if (getFastConfiguration().isSynonymsEnabled() && 
!getParameters().containsKey("qs")) {
+            if (getFastConfiguration().isRelevantQueriesEnabled() && 
!getParameters().containsKey("qs")) {
                 collectRelevantQueries(result, searchResult);
 
             }

Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/FastConfiguration.java
===================================================================
--- 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/FastConfiguration.java
      2006-04-05 15:32:45 UTC (rev 2724)
+++ 
trunk/src/java/no/schibstedsok/front/searchportal/configuration/FastConfiguration.java
      2006-04-05 17:40:42 UTC (rev 2725)
@@ -36,7 +36,7 @@
 
     private String filter;
 
-    private boolean synonymsEnabled = false;
+    private boolean relevantQueriesEnabled = false;
 
     public List getCollections() {
         return collections;
@@ -211,8 +211,8 @@
         return spamScoreLimit;
     }
 
-    public boolean isSynonymsEnabled() {
-        return synonymsEnabled;
+    public boolean isRelevantQueriesEnabled() {
+        return relevantQueriesEnabled;
     }
 
     public String getFilter() {

Modified: 
trunk/src/java/no/schibstedsok/front/searchportal/result/FastSearchResult.java
===================================================================
--- 
trunk/src/java/no/schibstedsok/front/searchportal/result/FastSearchResult.java  
    2006-04-05 15:32:45 UTC (rev 2724)
+++ 
trunk/src/java/no/schibstedsok/front/searchportal/result/FastSearchResult.java  
    2006-04-05 17:40:42 UTC (rev 2725)
@@ -88,9 +88,9 @@
     }
 
     /**
-     * Get the synonyms.
+     * Get the relevantQueries.
      *
-     * @return the synonyms.
+     * @return the relevantQueries.
      */
     public List getRelevantQueries() {
         Collections.sort(relevantQueries);

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to