Giter VIP home page Giter VIP logo

zsearch's Introduction

zsearch A high performance search engine

Low Data fragmentation and good random write performance by using levelDB Log Structured Merge Trees. High performance query speed by using CompressedBitmap to store DocumentIds in an InvertedIndex interface provided by a simple libEvent2 http server.

Project Design

Engine 
	-> tokenizer	
	-> documentStore
	-> invertedIndex
		-> KVStore
			-> InMemory
			-> LevelDb
		-> setFactory
	-> setFactory
	-> wordIndex

Project Organization

TODO

Contact

Dependencies

All of the following:

Cloning and Running

You can clone this repo and simply execute:

git clone git://github.com/victorparmar/zsearch.git
cd zsearch
./buildall.sh
./build/server ./docroot

License

  • Mozilla

zsearch's People

Contributors

lmangani avatar maximecaron avatar wheresvic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zsearch's Issues

Fix bug in LazyAndSet

LazyAndSet does not seem to work with BasicSet. Could be an issue in either, will need to write some unit tests to make sure. Mostly likely bug is in BasicSet ...

Missing files...

./src/server.cpp refers to some header files in a subdirectory "event2" which are not included.

Create object file for CompressedSet

Make compile time faster - you can leave the header only files as a separate copy and we can change the source to inline it for performance in a production build (if it actually makes a difference).

Remove non-source files from repository

The following non-source files are included in the repository:
leveldb/build_config.mk
leveldb/libleveldb.dylib
leveldb/libleveldb.dylib.1
leveldb/libleveldb.dylib.1.16

They should be removed + ignored.

getString functions are looking for trouble

The getString functions are fragile. I am getting errors about
one of them trying to override another.

It feels like it would be better and simpler to do:

            template <class T>
            static string getString(T v)
            {
                    std::stringstream ss;
                    ss << v;
                    return ss.str();
            }

(Arguably, it is maybe not the fastest way to do these conversions.)

Add search by field

Need to add support in the Engine, test, add support in the server and the API. We can perhaps leave this for a second release - let's focus on creating a release and the website for now :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.