U
U
utf2012-07-26 14:10:01
Python
utf, 2012-07-26 14:10:01

Which search engine to choose for code search?

There is an idea - to make a plugin for Sublime Text 2, which would search for code throughout the project.
What is the best engine to use for this job?
I look towards Lucene. I don’t know yet if it’s possible to sharpen it so that it normally searches for the code.
And another problem, PyLucene needs to be installed and is written in Java. Is there an opensource port to Python so that you can put it in the plugin source code?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
gvsmirnov, 2012-07-26
@utf

For python, there is whoosh . But to be honest, I like Lucene more.

M
Mikhail Osher, 2012-07-26
@miraage

In the JetBrains IDE, project search is made native "Find in Path".

A
aANDREIQA, 2012-07-26
@aANDREIQA

I wrote a diploma on this topic :)
one of the most accessible and easy-to-search code will be opengrok. it is based on ctags.
You can also write a front for lucene or sphinx.
OpenGrok works out of the box, supports syntax highlighting, can work with vcs's. And if you integrate it with doxygen, then in general a fairy tale turns out.
hub.opensolaris.org/bin/view/Project+opengrok/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question