Hi, I'm currently testing Xapian for an e-commerce website and I want to implement a search by navigation like there is on bbcshop.com. I don't think there is a magic function that would give the estimated count for all the "boolean value" for a particular request. Do you know if there is a way to do this with xapian ? I tought I could retrieve all the term present for all the matching document, but i don't see if there is a way to do this in the api (and i think it would cost a lot in performance ?). And then i could make one query by distinct term to get the estimate count ... but it seems overkill ... Thanks you, -- Yann
Charlie Hull
2008-Nov-25 13:59 UTC
[Xapian-discuss] Question to make a search by navigation
Yann ROBIN wrote:> Hi, > > I'm currently testing Xapian for an e-commerce website and I want to > implement a search by navigation like there is on > bbcshop.com.Did you know that this site is using Xapian? Can't help with your question I'm afraid but I'm sure someone will be along in a minute. Charlie> > I don't think there is a magic function that would give the estimated > count for all the "boolean value" for a particular request. Do you > know if there is a way to do this with xapian ? > > I tought I could retrieve all the term present for all the matching > document, but i don't see if there is a way to do this in the api (and > i think it would cost a lot in performance ?). And then i could make > one query by distinct term to get the estimate count ... but it seems > overkill ... > > Thanks you, >