Displaying 5 results from an estimated 5 matches for "stopanalyz".
Did you mean:
stopanalyzer
2006 Jul 18
4
Some basic questions
...t trying out the latest version (we were using 0.3.2, I
think). I got the latest (0.9.4) and have noticed things break. In
particular, I used to refer to the constant
Ferret::Analysis::StandardAnalyzer::ENGLISH_STOP_WORDS, but now when I
try to reference it I get an uninitialized constant error for
StopAnalyzer. Here''s an example IRB session:
1 irb(main):001:0> require ''rubygems''
2 => true
3 irb(main):002:0> require_gem ''ferret''
4 => true
5 irb(main):003:0> Ferret::Analysis::StopAnalyzer
6 NameError: uniniti...
2006 Aug 20
7
missing terms in index causing search errors
I am unable to find results for models when one or more of the terms are
not being indexed.
Lets suppose I index a User on the phrase "Ruby on Rails." If I then
search using User.find_by_contents("Ruby on Rails") I get no results,
since "or" is a common term and does not get indexed. Of course,
User.find_by_contents("Ruby Rails") works just fine.
I
2006 Aug 16
1
StandardAnalyzer not indexing "some"
Hi everybody,
In the basic setup acts_as_ferret uses a StandardAnalyzer. How come that
it won''t index the headline "some headline" with "some" and "headline".
It only uses LetterTokenizer and LowerCaseFilter.
Thanks for your help.
Michael
--
Posted via http://www.ruby-forum.com/.
2005 Nov 17
1
indexing source code
Hi again,
I''m using ferret to index source code - DamageControl will allow users
to search for text in source code.
Currently I''m using the default index with no custom analyzer (I''m
using the StandardAnalyzer). Do you have any recommendations about how
to write an analyzer that will index source code in a more ''optimal''
way? I.e. disregard common
2007 Jan 19
9
Double-quoted query with "and" fails.
Hi,
We''re using Ferret 0.9.4 and we''ve observed the following behavior.
Searching for ''fieldname: foo and bar'' works fine while ''fieldname:
"foo and bar"'' doesn''t return any results. Is there a way to make
ferret recognize the ''and'' inside the query as a search term and not
an operator? (I hope I got the