[Xapian-discuss] Search::Xapian really slow compared to C++ Xapian

Adam Sjøgren asjo at koldfront.dk
Thu Sep 30 13:04:06 BST 2010


On Thu, 30 Sep 2010 11:41:34 +0100, Olly wrote:

> Another possibility is limiting the number of terms that expansion can
> generate - ticket 350 has a patch, and links to some discussion on the
> list which touches on issues with this approach:

> http://trac.xapian.org/ticket/350

I have been using this patch ever since I created the ticket (basically
simply to avoid exhausting memory on the server when a user happens to
type "n*" or something else that expands to a _lot_ of terms in my
index).

If there is interest in including it, I have kept it up to date in my
local repository and can submit a fresh patch that should apply cleanly
to trunk.

If there are things I should adjust in the patch to have it included in
Xapian proper, don't hesitate to let me know :-)


  Best regards,

    Adam

-- 
 "None of them kicks go boom                                  Adam Sjøgren
  None of them basslines fill the room"                  asjo at koldfront.dk




More information about the Xapian-discuss mailing list