Giter VIP home page Giter VIP logo

hpt-search's Introduction

hpt-search

功能点:

1.提供面向对象的Lucene-API
	>用注解定义实体,包括字段是否创建索引,字段的权值,哪些字段用于检索等
	>用hpt-search的服务接口操作实体,来实现索引的添加,修改,删除,检索
	>支持高亮功能
	>支持Lucene分页

2.集成solr
	>对hpt-search的服务接口进行solr实现,lucene和solr的切换只需要改动配置文件

3.Lucene集群
	>考虑到Lucene的内核设计就是单机模式。利用NFS,内存索引,数据库索引,分布式索引
		并不是最好的解决方式,因为索引的随机读需要将全索引目录读取,所以索引存在本地
		磁盘才会使性能达到最好。
		
	>hpt-search提供集群功能,在配置文件中配置集群内所有节点的IP:PORT,在集群内的节点
		会将本地的索引操作同步到其他节点,以达到集群内各节点的索引保持一致。
		目前该种方式适合写入操作比较少的场景(当然这也是最常见的场景吧?)
		
	>后续当单个节点已经没法存储索引文件(索引文件的数据量巨大),hpt-search会
	加入HDSF的方式!
	

hpt-search's People

Contributors

zhaojunfu2014 avatar

Watchers

鱼中鱼 avatar James Cloos avatar

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.