Git Product home page Git Product logo

Comments (5)

kilchenmann avatar kilchenmann commented on August 20, 2024

There are two problems at the moment:

  • The Knora-api returns always the first 25 search results only. When you sort, it will take effect only on these 25 results.
  • How to sort in case of different ressource-classes with different properties?

A table view will be integrated (similar to salsah's tableedit) and will be active, if filtered by one ressource-class. See dasch-swiss/knora-ui#183

from dsp-das.

mrivoal avatar mrivoal commented on August 20, 2024
  • The Knora-api returns always the first 25 search results only. When you sort, it will take effect only on these 25 results.

But the sort criterion you implemented already works on the whole results given by knora-api. So I don't see why it wouldn't work (or would work in a different way) by clicking on the header of a column?

  • How to sort in case of different ressource-classes with different properties?

I think it could start small and provide the table view only when a query is processed on one resource class. Only after could we try and figure out how to present search results under table form for cross resource queries.

I see now that this is what dasch-swiss/knora-ui#183 is about. Great!

from dsp-das.

kilchenmann avatar kilchenmann commented on August 20, 2024

But the sort criterion you implemented already works on the whole results given by knora-api.

Yes it's true, we can use it. But this will make new search requests (with gravsearch) on each click on sort button. But it will not work on fulltext-search results with various resource-classes because of the mixture of property-classes. But we will implement a faceted search, so you can filter and finally sort. This should be possible after implementing the knora-api-js-lib.

I think it could start small and provide the table view only when a query is processed on one resource class.

Yes, this is exactly what I meant with "filtered by one ressource-class".

from dsp-das.

mrivoal avatar mrivoal commented on August 20, 2024
  • But it will not work on fulltext-search results with various resource-classes because of the mixture of property-classes.

I don't think the table view will be that useful for the full-text search. I think it will be useful mainly for people who already know what they are looking, which means queries involving:

  • one resource and selected properties on this resource
  • several resources involving various properties (but we have to figure out how to represent graph data on a tabular form)

But to refine the full-text search results, a faceted search will be great.

from dsp-das.

flavens avatar flavens commented on August 20, 2024

this issue has been moved to YouTrack: DSP-291

from dsp-das.

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.