search for: queryparsersyntax

Displaying 2 results from an estimated 2 matches for "queryparsersyntax".

2007 May 24
1
Search scoping in acts_as_ferret
Hello, I am exploring acts_as_ferret, and the first question that pops to mind is scoping, i.e. how to restrict searches in various ways. For example, I have a Post model with title, content, and user_id as attributes, and I want users to be able to search through their own posts only. Normally, of course, I would do Post.find(:all, :conditions=>["user_id=?", current_user],
2007 Mar 29
3
ferret/lucene syntax
...t;pink panther") I have been using this syntax: +title:(return AND "pink panther") Seemingly with success. Are both acceptable? I couldn''t find any documentation on "the plus sign" itself. Thanks for any pointers. John *http://lucene.apache.org/java/docs/queryparsersyntax.html#Boolean% 20operators -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070329/28158637/attachment.html