Coder Social home page Coder Social logo

Comments (4)

matslindh avatar matslindh commented on July 19, 2024

Lowercasing tokens should not be performed before indexing - only as part of the analysis / indexing chain. The returned values to the server should be in identical casing as when indexing. Hitting Cat when searching for cat is perfectly OK, but the token returned should be in the same case as when indexed.

from imbo-metadata-search.

kbrabrand avatar kbrabrand commented on July 19, 2024

Ok. I guess we're godd then. Closing ticket.

from imbo-metadata-search.

fangel avatar fangel commented on July 19, 2024

I only have the lowercasing because it was in the original DSL that @christeredvartsen wrote for Imbo.

But I think that was to get around case-sensitivity in MongoDB, so you could argue that the lowercasing should be done by the AST -> Mongo translation if necessary.

from imbo-metadata-search.

kbrabrand avatar kbrabrand commented on July 19, 2024

Yes. It makes sense to do the lowercasing in the AST-> Mongo DSL transformation and keep the Imbo DSL to AST transformation as small as possible. I'll make a new ticket for removing the lowercasing for now.

from imbo-metadata-search.

Related Issues (14)

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.