GithubHelp home page GithubHelp logo

note-search's Introduction

note-search

search my own notes

设计

  • 命令设计
    • 添加目录或文件到待提交列表(可以对此次添加的文件附带一个备注信息,方便搜索) ns add $path [-m 'note message']
    • 展示所有待提交列表 ns status
    • 提交给搜索引擎 ns commit
    • 显示当前索引或添加并切换到指定索引 ns index [index name]
    • 显示所有索引 ns indexes
    • 删除索引 ns index delete [index name]
    • 从搜索引擎中删除指定文档 ns rm [doc id]
  • 配置文件设计
    server:
      host: 127.0.0.1
      port: 7700
    processor: #default reader BinaryReader(read nothing,just return an empty string)
      - extensions: [".md",".txt"]
        reader: PlainTextReader
      - extensions: [".doc",".docx"]
        reader: WordReader
  • 数据格式设计
    • id 路径哈希值
    • path 文件绝对路径
    • name 文件名
    • content 文件内容
    • updated 文件最后修改时间(从文件本身属性读取)
    • remark/note 文件备注

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.