durga bidaye
2006-Feb-28 12:11 UTC
[Xapian-discuss] Is it posible to override the position of the index(term) stored in the database?
Hello I m new to Xapian. Can anyone tell me if its possible to override the position of terms stored in quartz database? it seems its not possible coz i went thru the documentation of positionlist class n this is wat i found Member Function Documentation void QuartzPositionList::operator= ( const QuartzPositionList & ) [private] Assignment is not allowed I want to override the position coz i want to store the position of the term as the "line number" on which it appears( in the document).Can anyone guide me plz? Please reply as early as possible coz gotta submit my project soon.Thanks in anticipation. doubtfire40008@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060228/d9b62f25/attachment.htm
James Aylett
2006-Feb-28 12:25 UTC
[Xapian-discuss] Is it posible to override the position of the index(term) stored in the database?
On Tue, Feb 28, 2006 at 05:41:31PM +0530, durga bidaye wrote:> I m new to Xapian. Can anyone tell me if its possible to override the > position of terms stored in quartz database?Position is set at index time - you just need to set it to whatever you want it to be. You can't do this with omindex or scriptindex. Cheers, James -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org