search for: xapiantermgenerator

Displaying 4 results from an estimated 4 matches for "xapiantermgenerator".

2007 Jun 15
1
TermGenerator in PHP4
(xapian 1.0.1) Should TermGenerator in the PHP4 bindings be called XapianTermGenerator? Thanks, Tim.
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
...4fa685139e8bdd71d37f39573e), terms get cut off (stopped) after the special character. For example the term gesundheitssch?dlich is indexed as gesundheitssch? and Zgesundheitssch? (stemmed). All character encodings are set to UTF-8, the MySql database is also in UTF-8 encoding. * #1 $lIndexer = new XapianTermGenerator(); #2 $lStemmer = new XapianStem(XapianHelper::GetStemmer($pLanguage)); // ?german? #3 $lIndexer->set_stemmer($lStemmer); #4 $lDoc = new XapianDocument(); #5 $lDoc->add_term($lObj->Id); #6 $lIndexer->set_document($lDoc); #7 $lIndexer->index_text("Nahrungserg?nzungsmittel Ausrei?...
2011 Sep 20
1
Understanding API Documentation for PHP
Hey everyone, I am brand new to Xapian so forgive me if I am just being noob. I looked over the sparse documentation for the Xapian library and its PHP hooks and I am really confused how to complete my index. I understand how to add documents etc etc etc and how to build queries but how I do specify in add_value what field type xapian should take (i.e. tokenized, unindexed, indexed)? Is there
2011 Sep 21
2
Xapian-discuss Digest, Vol 88, Issue 9
...t > > how I do specify in add_value what field type xapian should take (i.e. > > tokenized, unindexed, indexed)? > > > > I'm not sure if i'm interpreting what you're saying correctly, but if you > want to tokenize or index things, you want to look towards > XapianTermGenerator::index_text instead. > > Values are stored against the documents and aren't directly part of the > indexed text, so just set your class up with some basic constants, const > VALUE_X = 0; const VALUE_Y = 1; > and then pass them to add_value and get_value as required, ie. > $doc...