开发者

Installable search engine package for file search [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

Currently there exist package like gonzui (example of the implementation here) for doing source code search.

Is there a si开发者_高级运维milar package that does the same thing except for simple file search.

Basically I have two list of files for file type A and file type B. When the user type a word in the search box, all files (in "gz" format) with names match to the search term from type A and B will be displayed.

Is there any ready package that does that?

I am aware of CGI implementation via Perl. But it is difficult for me to have a simple and elegant interface/display in it with CGI.


We use Omnifind which works pretty well. You might also look into Nutch or Lucene.


Do you need it open-source and/or free? Do you need full unicode support?

Also do you want a search or an index? A search does not use any pre-computed information, for every search you have to porcess all the file data.

For an index you would have to pre-process / index the file data.

DTsearch is a commercial / not free index engine.

The fact that you mention a "database" would indicate to me that you are looking into an index.

There are hooks into the microsoft indexing service and you can also use MsSQL to index text data.


I am not quite sure I understand what you're looking for, or what your use case is exactly.

However, off the top of my head, there's the grep family of tools (grep, fgrep, egrep).

There's also find, which I think is more along the lines of what you're looking for.

And if performance matters, there's locate, which is based on an index that you will have to update periodically.

All of these come pre-installed with most flavors of UNIX.

I hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜