Coder Social home page Coder Social logo

Add Advanced Term search about swate HOT 4 CLOSED

nfdi4plants avatar nfdi4plants commented on June 27, 2024
Add Advanced Term search

from swate.

Comments (4)

Freymaurer avatar Freymaurer commented on June 27, 2024 1

PR #32 added a stored procedure for advanced term search, just needs implementation in the app.

from swate.

Freymaurer avatar Freymaurer commented on June 27, 2024 1

As written before i found the search by "startsWith", "contains" and "endsWith" not optimal. I now implemented my version with 4 variables:

  • search term name for keywords
  • substring that must exist in term name
  • search term definition for keywords
  • substring that must exist in defintion

I am always happy for new ideas on what this advanced search needs and i think we will come back to this issue after some user feedback. For now everything works fine and is implemented. Will do a PR to developer soon, then we can think about a minimal POC release.

from swate.

kMutagene avatar kMutagene commented on June 27, 2024

When creating fullText indexes on Name,Accession, and definition, it is possible to query CONTAINS and FREETEXT on all three columns at once.

from swate.

Freymaurer avatar Freymaurer commented on June 27, 2024

We propably should discuss on how to implement this correctly. In my opinion the "ends with query" will not be used. i cannot think of any situation i would search by how a term/definitions ends. But as we recently implemented a is_a directed search option, we should think about adding this option also to the advanced term search. Let me know what you think @kMutagene.

from swate.

Related Issues (20)

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.