[Xapian-discuss] db error

Jim Lynch jim at fayettedigital.com
Fri Apr 21 14:10:21 BST 2006


Please CC the xapian-discuss list, since I might not have all the 
answers and I know others here do.

The omega.conf file points to the directory that holds the directories 
that contain the databases.  For instance in your case you have the 
config entry /home/redhat/omega-0.9.5/data.   When you run the omindex 
command with a db name of "test" for instance, it will create a 
directory /home/redhat/omega-0.9.5/data/test.  That way you can have 
mulitple databases, all of them residing in different direcories below 
/home/redhat/omega-0.9.5/data.  Go back as I suggested and run ./omega 
-db=test P=searchString.  It should work.

Jim.

गुप्तेश्वर जोशी wrote:

>
>
> On 4/21/06, *Jim Lynch* <jim at fayettedigital.com 
> <mailto:jim at fayettedigital.com>> wrote:
>
>     From the cgiparams.txt file in the omega-0.9.5/docs directory I
>     found this:
>
>     DB
>             database name (give multiple values to search over several
>             databases) each DB value may be a list of database names
>             separated by "/".
>
>     Please add db=test to your omega  statement.  Omega by default
>     searches
>     a database named 'defautl'.
>     I have changed the values at omega.cc default_dbname = data
>
>
> and omega.conf too database_dir value /home/redhat/omega-0.9.5/data
> SO its showing me that Dtatabase data couldn't be opened.
> I am not geting the eror.
> Pls Help me
>
>
> THank You
>
>     Jim.
>     गुप्तेश्वर जोशी wrote:
>
>     >Hello,
>     >Ia m using omega on red hat 9
>     >ANd i ahve indexed data but when i goes to search as ./omega
>     'P=search'
>     >it gives me error as Database test couldn't be opened.
>     >Where my database lies in omeag dir itself and i have run
>     >./omindex --db test --url  'test/' /home/redhat/omega-0.9.5/data
>     >
>     >Thank you
>     >
>     >--
>     >----- गुप्तेश्वर जोशी -----
>     >
>     >
>     >------------------------------------------------------------------------
>     >
>     >_______________________________________________
>     >Xapian-discuss mailing list
>     > Xapian-discuss at lists.xapian.org
>     <mailto:Xapian-discuss at lists.xapian.org>
>     >http://lists.xapian.org/mailman/listinfo/xapian-discuss
>     >
>     >
>
>
>
>
> -- 
> ----- गुप्तेश्वर जोशी ----- 





More information about the Xapian-discuss mailing list