Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Expose more full-text search controls to the API #49

Open

Description

@abargnesi

Derived from #45 #47

The FTS search filter is used like:

http://next.belframework.org/api/annotations/values?filter={"category":"fts","name":"search","value":"mandible"}

http://next.belframework.org/api/evidence?filter={"category":"fts","name":"search","value":"Approved"}

The syntax for the full-text search filter passes through to the implementation:

  • annotations/namespaces uses SQLite fts4 and wraps each word like *word*
  • evidence uses Mongo FTS and is passed through unmodified

We should provide a consistent API across all FTS filters. This might include:

  • Specifying AND (conjunction) or OR (disjunction).
  • Wildcard search
  • Exact match
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions