And what about doing this with Omega ?<br>
<br>
Regards<br><br><div><span class="gmail_quote">On 2/9/06, <b class="gmail_sendername">Olly Betts</b> <<a href="mailto:olly@survex.com">olly@survex.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Feb 09, 2006 at 08:34:00AM -0500, Jim Lynch wrote:<br>> A client wants to be able to do wildcard searches, e. g. where w??k<br>> would match week or weak and tra* where it would match anything starting<br>
> with tra, like trash or travel, etc.<br>><br>> Any such feature in Xapian?<br><br>Right-truncation (tra*) is supported as of 0.9.2, but due to a typo in<br>the documentation comments isn't in the API docs. I'll fix that.
<br><br>Pass FLAG_WILDCARD as the second argument to QueryParser::parse_query()<br>to enable support:<br><br><a href="http://www.xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html#a11">http://www.xapian.org/docs/apidoc/html/classXapian_1_1QueryParser.html#a11
</a><br><br>It may be slow for a large database and a short stem (e.g. "e*").<br><br>A single character wildcard (w??k) isn't currently supported.<br><br>Cheers,<br> Olly<br><br>_______________________________________________
<br>Xapian-discuss mailing list<br><a href="mailto:Xapian-discuss@lists.xapian.org">Xapian-discuss@lists.xapian.org</a><br><a href="http://lists.xapian.org/mailman/listinfo/xapian-discuss">http://lists.xapian.org/mailman/listinfo/xapian-discuss
</a><br></blockquote></div><br><br clear="all"><br>-- <br>David LEVY {selenium}<br>Website ~ <a href="http://www.davidlevy.org">http://www.davidlevy.org</a><br>Wishlist Zlio ~ <a href="http://david.zlio.com/wishlist">http://david.zlio.com/wishlist
</a><br>Blog ~ <a href="http://selenium.blogspot.com">http://selenium.blogspot.com</a><br>