[Xapian-discuss] Odd issue with PHP Bindings and TermIterator

James Aylett james-xapian at tartarus.org
Wed Feb 4 19:25:06 GMT 2009


On Wed, Feb 04, 2009 at 11:17:29AM -0800, Jonathan Drake wrote:

> I'm using the Enquirer to return a term iterator for each document in  
> the MSet. Rather oddly since normally you use a deference to access  
> the string from the iterator, in the PHP bindings the function is  
> called get_term(). So I call a simple $term_it->get_term() and it  
> returns a string but the string returned always starts with a capital  
> 'Z'.

This is correct; check out
<http://xapian.org/docs/termgenerator.html#stemming> for more details.

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list