[Xapian-discuss] incremental indexing

Arshavir Grigorian ag at m-cam.com
Tue Jul 19 21:16:30 BST 2005


Hi,

I have a directory which has thousands of subdirectories

(/dir_top/dir_sub[n]).

I am trying to use omindex to index a few of the subdirectories to see 
if it works before I spend the time to index everything. So, I do:

omindex --db /var/lib/omega/data/default --url /top /top_dir sub_dir[i]
omindex --db /var/lib/omega/data/default --url /top /top_dir sub_dir[j]

However, after the second command is done, it deletes the results from 
the first index, so all that's left is an index for sub_dir[j]. My 
impression from docs/overview.txt (product - large example) was that the 
above commands should each add on to the existing index, but I guess 
that's not the case.
Is there a way to incrementally index different subdirectories under the 
same tree?

I also just tried the following, but that did the same thing:

omindex --db /var/lib/omega/data/default --url /top/sub_dir[i] \
/top_dir/sub_dir[i]

omindex --db /var/lib/omega/data/default --url /top/sub_dir[j] \ 
/top_dir/sub_dir[j]


Many thanks for any advice/pointers.



-- 
Arshavir Grigorian
Systems Administrator/Engineer



More information about the Xapian-discuss mailing list