Is there a software which can tag plain text files, organize and index them like Calibre and provide extensive content searching (I can search the content of the text files)?

link|improve this question

45% accept rate
I want total text file management software like calibre, not just searching or indexing software. – crucified soul May 5 '11 at 6:48
I know, that's why I haven't closed the question. – Sathya May 5 '11 at 7:47
Doesn't Calibre support tagging, organising and indexing of plain text files? The Calibre FAQ lists TXT as one of the formats it can convert to/from. – RedGrittyBrick May 5 '11 at 9:22
I will give it a try – crucified soul May 5 '11 at 11:36
feedback

1 Answer

I am tempted to say SQLite with the FTS4 full text search extension (standard).

CREATE VIRTUAL TABLE text_files USING FTS4(file_id INTEGER PRIMARY KEY, file_content BLOB);
CREATE TABLE text_information(file_id INTEGER REFERENCES text_files(file_id), file_path TEXT, file_size INTEGER, whatever_you_want…);

With some C program it is easy to store a file into your database. Then a simple query performs full text search (syntax)

SELECT * FROM text_files WHERE file_content MATCH 'hello';
link|improve this answer
I am looking for more of a software, not building it on my own – crucified soul May 5 '11 at 6:35
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.