GithubHelp home page GithubHelp logo

Comments (6)

jordanl17 avatar jordanl17 commented on July 23, 2024

Hello, thank you for raising this feature request.

Have you tried adding weighted search to your studio?
https://www.sanity.io/docs/studio-search-config

from sanity.

boris-felix avatar boris-felix commented on July 23, 2024

Hi Jordan.

We saw that feature in your documentation but this is not really suiting our needs. We may want to manipulate the search results in a more complex way that is possible with just changing the weight of some fields on the schema.

Additionally, the filtering and sorting options we require are quite important for our content editor so they can quickly find what they need.

from sanity.

SimeonGriggs avatar SimeonGriggs commented on July 23, 2024

Are you still on Studio v2 or just an older version of v3?

The global search in newer Studio versions has the ability to add "facets" to the search, so you could select a specific instructor in your Studio, just like how the filter below could select author.

Screenshot 2024-07-03 at 13 09 16

from sanity.

jordanl17 avatar jordanl17 commented on July 23, 2024

You could also try opting to our newer (and currently not widely released or recommended) Text Search API, by setting:

// ./sanity.config.ts|js

import {defineConfig} from 'sanity'

export default defineConfig({
  // ...rest of config
  search: {
    enableLegacySearch: false,
  }
})

from sanity.

boris-felix avatar boris-felix commented on July 23, 2024

Are you still on Studio v2 or just an older version of v3?

The global search in newer Studio versions has the ability to add "facets" to the search, so you could select a specific instructor in your Studio, just like how the filter below could select author.

Screenshot 2024-07-03 at 13 09 16

We are still on v2 but were planning to migrate to v3 later this summer. Good to know about this feature.

from sanity.

boris-felix avatar boris-felix commented on July 23, 2024

You could also try opting to our newer (and currently not widely released or recommended) Text Search API, by setting:

// ./sanity.config.ts|js

import {defineConfig} from 'sanity'

export default defineConfig({
  // ...rest of config
  search: {
    enableLegacySearch: false,
  }
})

What benefits brings the Text Search API exactly ?

from sanity.

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.