Skip to content

Full-text search #40

@joepio

Description

@joepio

Being able to search through data inside your personal atomic server seems like a nice feature to have. In this issue, I'd like to explore the requirements and some possible approaches for implementing a full text search service.

Wishes

  • Find specific resources and their URLs extremely fast. This enables using it in things like semantic document editors, so instead of simply typing a word, we're inserting a specific URL of some thing. This will mean that items that are often used will come out 'on top'. To do this, we need a sorting algorithm that uses historical searches and selections. We also need some form of autocompletion.
  • Be able to either ignore or include types of resources. Perhaps I'm looking for a specific person, and I don't want to see all documents with that persons name inside it.
  • A persons first name in a "firstName" property should weigh more than that string in a "description". Perhaps make character count diminish relevance score.
  • Iterative indexing on Commits / when resources are added to the store.

Approaches / implementation ideas

  • The API itself should use atomic data, too. The Collections model is probably useful here, since it introduces paginated content.
  • The Sonic crate offers performant search features, and simply returns a URL. The developer is planning on making it embeddable.
  • It would be nice if it works as an installable plugin. This would require that plugins function as some sort of middleware handler, offer a custom endpoint, be able to write / access data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginShould probably be an Atomic Plugin

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions