Discussion:
Indexed?
Jens Krämer
2008-10-28 19:38:16 UTC
Permalink
Hi,

I'm not exactly sure what you're doing there, but 'and' is in Ferret's
list of default stop words and therefore won't be indexed by default.
maybe this is the whole problem?

Cheers,
Jens

PS: please post via the real mailing list, this web interface sucks for
posting.
Hi,
I have problem with indexing simple structire.
Indexing single element works, but dong it in a little bit more complex
code fails.
[..]
# this gives no results
puts index.search('word: "and"')
#index << CorpusIndexedElement.new("a test
sentence",0,"test","xy").to_ferret_index_hash
#puts index.search('word: "test"')
I run out of ideas :(
Cheers,
Tomasz
--
Posted via http://www.ruby-forum.com/.
Loading...