search for: value_x

Displaying 2 results from an estimated 2 matches for "value_x".

Did you mean: value_r
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
...orrectly, 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. > $document->add_value(self::VALUE_X, $anything); or > $document->get_value(VALUE_X); > > In a general sense is there any more programmer orientated > > documentation/tutorials rathe...