Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A flexible, lightweight search platform

NotificationsYou must be signed in to change notification settings

hunt-framework/hunt

Repository files navigation

Hunt is a flexible, lightweight search platform written in Haskell.

The default server implementation provides a powerful JSON-API and a simple web interface.

Features

  • Powerful query language
  • Schema support (numeric data, dates, geospatial data)
  • Granular ranking capabilities
  • JSON API
  • Extensible architecture

Installation

Dependencies
  • GHC: The Glasgow Haskell Compiler
  • Cabal: Haskell package management tool
Hunt Installation

The easiest way to get the setup started is to install the currentHaskell Platform.

Linux

If you're using linux, you can usemake for the build.

git clone https://github.com/hunt-framework/hunt.gitcd huntmake sandbox install
Windows

If you're using Windows, you can use cabal for the build. If you would like to use sandboxes on Windows, you can copy the neccessary cabal commands from our Makefile.

git clone https://github.com/hunt-framework/hunt.gitcd hunt/hunt-servercabal install

Getting Started

The following line starts the default server.The web interface is available athttp://localhost:3000/.

make startServer

A small sample data set can be inserted with:

make insertJokes

FAQ

Can I run Hunt on a 32-bit machine?

No, we are using 64-bit hashes for our internal document IDs. Collisions are much more likely for 32-bit hashes and the available memory would be limited to 4GB.

Why is the CPU usage in idle so high?

GHC performs a a major garbage collection every 0.3 seconds in idle, which can be computationallyexpensive on a big index. This can be disabled with theGHC RTS option-I0.

Development / History

Hunt was started in 2013 byUlf Sauer andChris Reumann to improve and extend theexistingHolumbus framework.Holumbus was developed in 2008-2009 byTimo B. Kranz andSebastian M. Gauck andpowers the current Haskell API searchHayoo!.We decided to rebrand, because Hunt represents a major rewrite and breaks compatibility.

A new Hayoo implementation is currently under development bySebastian Philipp.

Both projects were developed at theFH Wedel under supervision and active support ofProf. Dr. Uwe Schmidt.


[8]ページ先頭

©2009-2025 Movatter.jp