Code Monkey home page Code Monkey logo

Comments (5)

ahankinson avatar ahankinson commented on June 9, 2024

This should work now.

from rism-online-issues.

lpugin avatar lpugin commented on June 9, 2024

It does, thanks! However... this (combining with another term) does not https://dev.rism.online/search?q=462100600%20Bagatelles&mode=sources&page=1
Do you know why?

from rism-online-issues.

ahankinson avatar ahankinson commented on June 9, 2024

Yes; it's because we treat IDs as a complete string, and don't analyze them anywhere else. So the entry "462100600" appears in the rism_id field, but 462100600 Bagtelles doesn't. Because this isn't configured to provide analysis, and because the ID doesn't appear anywhere else, that specific phrase doesn't appear in any records.

What we could do is run the rism_id value through a field definition that does tokenization, and see if that fixes it...

from rism-online-issues.

lpugin avatar lpugin commented on June 9, 2024

OK. You can leave it like this for now because it does not make much sense to search for and ID + something else anyway.

For some reasons, this https://dev.rism.online/search?q=Bagatelles&mode=sources&page=1 does not seem to find that record, which is weird. https://dev.rism.online/search?q=SCH%C3%9CLER%20Fanny&mode=sources&page=1 does

from rism-online-issues.

ahankinson avatar ahankinson commented on June 9, 2024

It does find it, it's just on page 4 of the results.

https://dev.rism.online/search/?mode=sources&page=4&q=bagatelles

from rism-online-issues.

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.