Displaying 3 results from an estimated 3 matches for "boolean_query".
2006 May 15
16
Ferret not able to read a Lucene Index?
Hi all,
Having problems trying to get Ferret to read an index generated by
Lucene.
Am I right in thinking Ferret should be able to read a Lucene generated
index no problem?
Using the code snippets detailed in
http://www.ruby-forum.com/topic/64099#new
Any advice gratefully received.
Many Thanks,
Steven
--
Posted via http://www.ruby-forum.com/.
2007 Feb 02
1
Working demo of search engine using boolean query.
...rimary_terms;
my @secondary_terms = split ' ', $secondary_terms;
#------------------------------------------------------------------------------#
my $query1 = Search::Xapian::Query->new( OP_OR, @primary_terms );
my $query2 = Search::Xapian::Query->new( OP_OR, @secondary_terms );
my $boolean_query = Search::Xapian::Query->new( OP_AND, $query1, $query2 );
$enq->set_query( $boolean_query );
#------------------------------------------------------------------------------#
printf "Parsing query '%s'\n", $enq->get_query()->get_description();
my $total = $enq->ma...
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which
does not have a sys/dir.h
nix_io.c:5:21: sys/dir.h: No such file or directory
make: *** [nix_io.o] Error 1
I couldn''t find an obvious way around this... any suggestions?
Thanks,
Rich Marisa
Cornell Information Technologies
Cornell University