| Edit | Back | pdf:writer| three column layout

Ferret

Install:
describe command
gem ferret install gem install ferret -v=0.11.5 --platform mswin32
act as ferret gem install acts_as_ferret
To install ferret-server use cd your current railsproject in cmd prompt then aaf _install
or use plugin to install act as ferret as mentioned below script/plugin install svn://code.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
note:
comment the 39th line in ../act_as_ferret/lib/server_manager.rb and add the below line instead of that,
require(File.join(Dir.pwd',./config/environment'))
Usage:
Method description example
rebuild_index after any change to index settings the index needs to be rebuilt Post.rebuild_index
Search Options:
keyword1 OR keyword2 find documents with either keyword
keyword1 keyword2 find documents with both keywords
"name:keyword" find documents with groupname,collegename,branchname
"location:keyword" find document with location
* find all the document regarding search
keyword~ find the like matching keyword
keyword (eg,234.0) find the group,college,branch name based on cutoff
OC:keyword find the group,college,branch name based on cutoff and community(OC,OBC,MBC,SE,ST)
eg, +first_name:Gregg -last_name:Jones find all the results where Gregg is in the first name, and Jones is NOT in the last name.
eg, -name:Gregg find all the results where Gregg is not in the name
eg,'name:gogle~0.4 AND name:search~0.4 AND name:engine~0.4' find all the results where name should have all the conditions specified .
Search Options Help:
To know more use this url http://ferret.davebalmain.com/api/classes/Ferret/QueryParser.html

 | Edit | Back| pdf:writer| three column layout