[Xapian-discuss] Question about embedding Xapian index in one file

Wilm Schumacher wilm.schumacher at cawoom.com
Wed Nov 27 21:21:36 GMT 2013



Am 27.11.2013 21:59, schrieb Emmanuel Engelhart:
> Le 27/11/2013 21:49, Wilm Schumacher a écrit :
>> !!!Warning: Xapian-Newbie writing
>>
>> 1.) a possible solution: I would not do this by xapian, but by the
>> operating system. You could create a "moutable file", and mount it to a
>> directory of your choice and let Xapian read and write in this
>> directory. All changes would happen in this one file.
> 
> This is not really on option for us, our software supports a lot of
> different OSes,
this plan would work for Linux, BSD, Solaris, MacOS ... well, every *nix
system. The only problem is Windows. I have not used Windows in a
decade, so I cannot help with that. But perhaps there is a way to do
this, too.

> and I don't really want to start to add such type of
> complexity.
this is the key problem. What you are asking for is not in the scope of
xapian, but in the OS space (or for a programm which is very near to the
OS level).

>> 2.) just for clarification: why would you want such thing? What is the
>> advantage of this plan?
> 
> We provide read-only archives of content in a dedicated file and we use
> Xapian only to provide full-text search. Not having everything in one
> file makes the life of our users (and ours) unnecessary complicated.
I see your point and the problem. I still would recommend the way
"through" the OS. But perhaps there is a more elegant way by Xapian
directly.

Good luck

Wilm



More information about the Xapian-discuss mailing list