QUEST(1) User Commands QUEST(1)NAME
quest - Xapian command line search tool
SYNOPSIS
quest [OPTIONS] 'QUERY'
DESCRIPTION
quest - Xapian command line search tool
NB: QUERY should be quoted to protect it from the shell.
OPTIONS -d, --db=DIRECTORY
database to search (multiple databases may be specified)
-m, --msize=MSIZE
maximum number of matches to return
-s, --stemmer=LANG
set the stemming language, the default is 'english' (pass 'none' to disable stemming)
-p, --prefix=PFX:TERMPFX
Add a prefix
-b, --boolean-prefix=PFX:TERMPFX
Add a boolean prefix
-h, --help
display this help and exit
-v, --version
output version information and exit
xapian-core 1.2.12 June 2012 QUEST(1)
Check Out this Related Man Page
Xapian::TermGenerator(3pm) User Contributed Perl Documentation Xapian::TermGenerator(3pm)NAME
Search::Xapian::TermGenerator - Parses a piece of text and generates terms.
DESCRIPTION
This module takes a piece of text and parses it to produce words which are then used to generate suitable terms for indexing. The terms
generated are suitable for use with Search::Xapian::Query objects produced by the Search::Xapian::QueryParser class.
SYNOPSIS
use Search::Xapian;
my $doc = new Search::Xapian::Document();
my $tg = new Search::Xapian::TermGenerator();
$tg->set_stemmer(new Search::Xapian::Stem("english"));
$tg->set_document($doc);
$tg->index_text("The cat sat on the mat");
METHODS
new TermGenerator constructor.
set_stemmer <stemmer>
Set the Search::Xapian::Stem object to be used for generating stemmed terms.
set_stopper <stopper>
Set the Search::Xapian::Stopper object to be used for identifying stopwords.
set_document <document>
Set the Search::Xapian::Document object to index terms into.
get_document <document>
Get the currently set Search::Xapian::Document object.
index_text <text> [<weight> [<prefix>]]
Indexes the text in string <text>. The optional parameter <weight> sets the wdf increment (default 1). The optional parameter
<prefix> sets the term prefix to use (default is no prefix).
index_text_without_positions <text> [<weight> [<prefix>]]
Just like index_text, but no positional information is generated. This means that the database will be significantly smaller, but that
phrase searching and NEAR won't be supported.
increase_termpos [<delta>]
Increase the termpos used by index_text by <delta> (default 100).
This can be used to prevent phrase searches from spanning two unconnected blocks of text (e.g. the title and body text).
get_termpos
Get the current term position.
set_termpos <termpos>
Set the current term position.
get_description
Return a description of this object.
REFERENCE
http://www.xapian.org/docs/sourcedoc/html/classXapian_1_1TermGenerator.html
perl v5.14.2 2012-05-09 Xapian::TermGenerator(3pm)
Hi again! I'm still learning with unixacademy dvds and I have a question related to a timekeeping. Again I'm new to Linux and UNIX and most of my computing experince is Windows. I researched this on google but couldn't find a clear answer. I've been tweeking time zones in my last excersize...
... (31 Replies)
can some one please help me at my post ?
for hours yet being ignored
Need help on this:
nonsense. can't even solve forum ask people redo whole code. LMAO - after asking 101 qns
the pre result should be like this:
A A A A A
A A A A A A
A A A A A
A A A A A A
A A A... (27 Replies)
Dear all,
I wrote a script and set it as a cron job to automatically download the data from the website.
Here is the problem, when I run this script in terminal, it works well, while it can not download the files when I run it as a cron job, I feel so weird.
The script as follows:... (28 Replies)
Hi Everybody,
Hope everybody is having fun with their Solaris installations and not pulling out too much of whatever hair they have left so far. :)
Just for sport, I bought an old Netra 240 used by Northern Telecom Turkish subsidiary Netas here in Turkey. My hope is to turn this into an ugly... (33 Replies)