[Xapian-discuss] php and get_termpos (stemming problem?)
Wojewsky, Sascha, Heinze
Sascha.Wojewsky at heinze.de
Wed Sep 12 13:17:54 BST 2007
> So your "if" condition is always false because there's no positional
> information stored for 'Z'-prefixed terms. This is done because it
> saves a lot of disk space, but we can still provide phrase searching
> etc (by using the unstemmed forms).
> > If I've called $database->positionlist_end($i->get_docid(),
> > 'seachstring') without the leading "Z", I've got a result.
> You will, provided that the stemmed form is also an unstemmed word in
> the document.
Do you have any solution to get the Position of the searched term in the
document, or to get a snippet of the document around the term?
> > Any unauthorized copying, disclosure or distribution of the material
> > in this e-mail is strictly forbidden.
> Please don't post to mailing lists with such disclaimers. Email sent
> to this (and most other) mailing lists will be copied, disclosed, and
> distributed very widely - that's the very purpose of a mailing list.
> If you don't want that, don't send mail to it.
I cannot send emails without this footer, because our email-service
generate it...
Tanks
Sascha
Geschaftsfuhrer: Dirk Schoning | Sven Hohmann
Handelsregister: Amtsgericht Luneburg | HRB 100051
Bauprodukte und Informationen
online im HeinzeBauOffice
Diese E-Mail enthalt vertrauliche und/oder rechtlich geschutzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtumlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the Xapian-discuss
mailing list