Jens Kraemer wrote:
> could you please have a look into your application's log file, and look
> for the query aaf actually runs against the ferret index? the relevant
> line should start with 'query: '
>
> Jens
>
"Query: +all_categories:1 +bought_at_int:<1174655577 +gift:false"
with this and a search '+' it found all books (it changes '+' with ' ')
same for '?'
now i've changed the query with:
query = "+title:#{query} +all_categories:#{category_id}
+bought_at_int:<#{15.days.from_now.to_i} +gift:false #{extra}"
this works, now with '?' it doesn't found anything, but... if i search a
stop word (my, all, your, etc) it found all books :(
the log:
Query: +title:all +all_categories:1 +bought_at_int:<1174655577
+gift:false
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk