For some weeks ago I implemented from/to -date functionality in NewsEspSearchCommand. There I append a fromTomFilterString to the esp-query:
query.setQueryString(query.getQueryString() + fromTomFilterString); That fix was working but there was a decision that we where not going to commit that fix into the kernel. After some functionality changes we decide to make DatefilterQueryTransformer. (genericse) Now I have implemented the DatefilterQueryTransformer. From the getFilter method we return a "filter-string". That string u said would be appended to the query in the way I implemented in NewsEspSearchCommand(query.setQueryString), but it doesn't ? The kernel adds the string as an esp filter parameter and that doesn't work. /AB For some weeks ago I implemented a (from/to -date) functionality in NewsEspSearchCommand.java. There I append a fromTomFilterString (based on fromDate and toDate) to the esp-query: query.setQueryString(query.getQueryString() + fromTomFilterString); That fix was working but there was decision that we where not going to commit that fix into kernel. After some changes of the functionality we decide to make a DatefilterQueryTransformer instead.(genericse) Now I have implemented the DatefilterQueryTransformer. There we return a filter-string from the getFilter method. That string u said would be appended to the query in the way I implemented in NewsEspSearchCommand (query.setQueryString), but it doesn't ? The kernel add this as a esp-filter parameter and that doesn't work.
_______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
