Git Product home page Git Product logo

wk-elasticsearch's Introduction

wk-elasticsearch

Research on Elasticsearch with express+react

some note on lemur project indri and elastic search

elastic search: indexing takes longer time, support json parsing

indri: better performance than elastic search, nearly twice the speed, support xml instead of json

for a time-based dynamic document, which needs to change in a time log, updating all the index

indri seems to have better performance

some notes on indri installation

./configure blabla

make

make install

https://lemur.sourceforge.io/indri/

cd indri

cd bin

make a index.xml for parameter parsing

//to specify a the parameter of a index https://sourceforge.net/p/lemur/wiki/IndriBuildIndex%20Parameters/

./IndriBuildIndex blabla.xml

https://sourceforge.net/p/lemur/wiki/IndriRunQuery/ ./IndriRunQuery

search engine

indexing method-

  1. build inverted index table:

https://www.quora.com/What-is-inverted-index-It-is-a-well-known-fact-that-you-need-to-build-indexes-to-implement-efficient-searches-What-is-the-difference-between-index-and-inverted-index-and-how-does-one-build-inverted-index

build index:

https://www.cs.cmu.edu/~lemur/3.1/indexing.html

detailed explanation:

http://www.shuang0420.com/2016/10/14/Search%20Engines%E7%AC%94%E8%AE%B0%20-%20Index/

parsing source code

https://sourceforge.net/p/lemur/code/HEAD/tree/indri/tags/release-5.9/src/Parameters.cpp#l47

build index source code

https://sourceforge.net/p/lemur/code/HEAD/tree/indri/tags/release-5.9/buildindex/IndriBuildIndex.cpp#l1078

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.