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

Jonathan Drake jdrake at simplesft.com
Wed Feb 4 19:30:57 GMT 2009


Wow can't believe I missed that documentation. Well that explains  
quite a lot. Maybe I can take advantage of that as well :)

Thanks, Jonathan Drake

On Feb 4, 2009, at 11:25 AM, James Aylett wrote:

> 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
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss




More information about the Xapian-discuss mailing list