views:

58

answers:

2

Hi,

I need to develop a file indexing application in python and wanted to know which embedded database is the best one to use for indexing.

Any help on this topic is appreciated. Thanks,

Rajesh

+2  A: 

you could use sqlite :

Another one that you could explore is

For file indexing there are tools like pylucene, xapian.

Other relevant link on SO

pyfunc
Can you please guide me which is more suitable for Python?
Rajesh Vaya
@Rajesh Vaya : I would suggest that you use xapian written in c/c++ and has python binding. Please see my edited link for other tools like pylucene and whoosh. Xapian and woosh are quite capable for your job.
pyfunc
sqlite is built in to python. you could give that a shot and if for some reason it didn't meet your needs move your data to another database. one of the few criticisms of sqlite to be aware of is its support of concurrent access.
Adam Bernier
@Adam, @Pyfunc: Thanks a lot for the instant reply
Rajesh Vaya
@Rajesh: you're most welcome. In addition to accepting the answer, as you've done, you can also click the upward arrow to give pyfunc some points if you feel that his/her answer was useful :-)
Adam Bernier
It says vote up requires 15 reputation.. i guess i don't have that much since i am a new user.
Rajesh Vaya
One more question.. which DB is used by Whoosh?
Rajesh Vaya
A: 

You can also check Firebird who have for good drivers for Python
You can also use the sphinx add in Or you can also use lucene and firebird like infovark

Hugues Van Landeghem