Giter Site home page Giter Site logo

sunzikun / luyfsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luyongfugx/luyfsearch

0.0 1.0 0.0 804 KB

luyfsearch is a simple full-text search engine written by c++ language. it is so simple that maybe it is hard to used in your project now .i just write it because i want to pratice my c++ and to try to write a small full-text search engine. if you like,you can modify it,and you can use it in your project.and i'm happy to see you do that!and i will continue to work on it too,meybe some day later,it can be easy used in your project

C++ 98.57% C 1.37% Shell 0.06%

luyfsearch's Introduction

INTRODUCTION
           TinySearch is a simple full-text search engine written by c++ language.  
it is so simple that maybe it is hard to used in your project now .i just write it because
i want to pratice my c++ and to try to write a small full-text search engine. if you
 like,you can modify it,and you can use it  in your project.and i'm happy to see you do that!
and i will continue to work on it too,meybe some day later,it can easy used in your project.

ABOUT ME
         i'm a software engineer in beijing, china.i use java or javascript on my job,and i like
c++ too.you can contact me by email if you like,my  email is: [email protected].

WHAT TinySearch can do?
           TinySearch is a simple full-text search engine.
           it is simple,so it just provide base full-text search function.
	for example:

           create index file for you data.

          provide search api to you ,so you can search some data by some keyword.it provide
          SearchAndString and SearchOrString  two method to you, SearchAndString:  the docment
           must have all of the keywords  you provide to the program.SearchOrString: if the docment
           have one of the keywords you provide,it can be fund out.
       
          you can add new data docment to the index file  or delete a data document from the index

ATTENTION
   
        because of i have no time,TinySearch don't provide the delete method,so you can't delete a 	 
       specific document now  ( i will do it next step)..
        
       I run it on the linux,and the charset is utf-8 now ,if you want to use it for gbk,you meybe have to 
       change the  "seg/CHzSeg.cpp", modify CHA_LENGTH to "2".

how to use it:

       just make clean,and then make. and run the ./Search,you can see the simple,the main function is in the Search.cpp.


good  luck!
and  if you meet some problem or want to discuss something with me,just email to me([email protected])



luyfsearch's People

Contributors

luyongfugx avatar

Watchers

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.