Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Xapian for Erlang (examples)

tag: pencils-down

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 priv
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 rebar
Octocat-spinner-32 rebar.config
Octocat-spinner-32 start-dev.sh
README.md

Examples for Xapian

It is an implementation of PHP examples in Erlang. http://xapian.org/docs/bindings/php/examples/

$ echo "erlang" | ./bin/simpleindex.escript priv/test_db/simple/
$ ./bin/simplesearch.escript priv/test_db/simple/ erlang
1 results found:
1: 100% docid=1 [erlang
]

./bin/index_filters.escript ./priv/100-objects-v1-utf8.csv ./priv/test_db/filters 
./bin/index_facets.escript ./priv/100-objects-v1-utf8.csv ./priv/test_db/facets
./bin/index_ranges2.escript priv/states.csv priv/test_db/ranges2
./bin/index_ranges.escript ./priv/100-objects-v1-utf8.csv ./priv/test_db/ranges
./bin/search_facets.escript ./priv/test_db/facets clock
./bin/search_filters.escript priv/test_db/filters clock 'steel (metal)' 

Installation

rebar get-deps && rebar compile
Something went wrong with that request. Please try again.