Taco van den Broek
2007-Apr-05 16:06 UTC
[Xapian-discuss] Searching multiple databases using omega -> database couldn't be opened
Hi, I use Xapian and Omega to index and search a website and subsites of that website. Up to now I used to put all search data into one database, resulting in a database of 11GB. Since updating the index of that database started to take too long I decided to split up the database: one database per (sub) website. So far so good, indexing is fast and searching behaves like before. That is, when you search only one site at a time. Unfortunately we allow our users to search all sub websites at once which went well when we used only one database, but now omega gives an error like: database `foo/bar/baz/qux` couldn't be opened. Actually this is the second error message I got, the first was about too many open files which I solved by increasing the numer of allowed open files for the user executing the omega search. Does anybody have an idea about how to solve this problem? Preferably without going back to using a single database ofcourse. Best regards, Taco P.S. The number of websites is: 254
Olly Betts
2007-Apr-05 16:33 UTC
[Xapian-discuss] Searching multiple databases using omega -> database couldn't be opened
On Thu, Apr 05, 2007 at 04:44:25PM +0200, Taco van den Broek wrote:> So far so good, indexing is fast and searching behaves like before. That > is, when you search only one site at a time. Unfortunately we allow our > users to search all sub websites at once which went well when we used > only one database, but now omega gives an error like: database > `foo/bar/baz/qux` couldn't be opened.What's the query string? The exact error would also be useful...> Actually this is the second error message I got, the first was about too > many open files which I solved by increasing the numer of allowed open > files for the user executing the omega search.You'll need at least 5 per database as things currently are, so that's not too suprising! Cheers, Olly