Displaying 3 results from an estimated 3 matches for "term_doc".
Did you mean:
term_docs
2006 Feb 28
2
Most Popular Searches
...In
SQL I would do this via a Group By clause. Is there anything in
Ferret that will do something similar?
I found this discussion that proposed a solution involving TermEnums:
http://www.gossamer-threads.com/lists/lucene/java-user/32272#32272
But I noticed the IndexReader.terms and IndexReader.term_docs are not
implemented. Is that solution the way to go? Would an index-only
solution perform a lot faster than a pure database solution using a
group by clause?
Any feedback is appreciated.
Tom
2007 May 29
0
index#term_docs returns no docs / term_docs_for does
I''m building my first Filter and I''m running into an issue with
Ferret::Index::IndexReader#term_docs.
As I understand it, index_reader.term_docs should return a
term-document enumerator for the entire index:
index_reader.term_docs => empty set
However, I''m getting an empty set. Interestingly enough, the following:
index_reader.term_docs_for(:name, ''coffee'') =>...
2006 Sep 20
3
Range searches some times they work, some times not...
Hi i''m using ferret to enable geographical postcode. I take a postcode
and distance in miles from the user, strip off the outcode and then
retrieve the associated x y coordinates in metres from the db. Then i
get two temp x''s and y''s and search for all results that are within the
box, see code below.
Problems start to occur when i search on big distances so for