Anyone working on port or bindings for Lucene (cLucene or Lucy)?

480 views
Skip to first unread message

Richard Catlin

unread,
Jan 27, 2011, 5:43:05 PM1/27/11
to golang-nuts
Anyone working on port or bindings for Lucene (cLucene or Lucy)? Is
there another search technology that works with Go?

josh rotenberg

unread,
Jan 27, 2011, 5:57:12 PM1/27/11
to Richard Catlin, golang-nuts
Your best bet might be to try out one of these:

Solr: http://lucene.apache.org/solr/features.html
ElasticSearch: http://www.elasticsearch.com/

Both have HTTP-based interfaces, so all you'd need from Go really are
the http and json or xml packages.

Hope that helps.

Josh

Peter Varga

unread,
Jan 28, 2011, 12:05:28 AM1/28/11
to golang-nuts


On Jan 27, 5:43 pm, Richard Catlin <richard.m.cat...@gmail.com> wrote:
> Anyone working on port or bindings for Lucene (cLucene or Lucy)?  Is
> there another search technology that works with Go?

in a c prog i used ferret. ferret is ruby with lucene implemented in
c. the c code of it is quiet clean and has i18n support, stemming.

Ibrahim M. Ghazal

unread,
Jan 28, 2011, 1:51:10 AM1/28/11
to Richard Catlin, golan...@googlegroups.com
On Jan 28, 1:43 am, Richard Catlin <richard.m.cat...@gmail.com> wrote:
> Anyone working on port or bindings for Lucene (cLucene or Lucy)?  Is
> there another search technology that works with Go?

The index/suffixarray package could be useful: "The suffixarray
package implements substring search in logarithmic time using an in-
memory suffix array." [1]

You might also want to take a look at godoc sources, it implements
full-text search of the Go source tree. The relevant file is index.go
[2]

[1] http://golang.org/pkg/index/suffixarray/
[2] http://golang.org/src/cmd/godoc/index.go

Reply all
Reply to author
Forward
0 new messages