Skip to content

RFC Notecards on search page strip punctuation and whitespace #367

Open

Description

@ekr

See:

Image

Versus:

Image

Activity

  1. jennifer-richards commented on May 22, 2026

    @jennifer-richards
    Member

    This is mostly a datatracker issue related to how it populates the search index that feeds that page. I'll leave this here because it's the right place for the user-facing issue and open a more technically detailed issue on the datatracker repo. Thanks for reporting.

  2. added
    user-interface
    on May 23, 2026
  3. added theissue type on May 23, 2026
  4. ekr commented on May 25, 2026

    @ekr
    Author

    It seems like you probably want to pull the abstract from the RFC data, not from the search index.

  5. JayDaley commented on May 26, 2026

    @JayDaley

    There are good reasons for taking this from the search response once that is fixed - it's immediate and it's the canonical text for the search hit (where that was in the abstract). I

  6. ekr commented on May 26, 2026

    @ekr
    Author

    Perhaps we need to step back and ask what the semantic content of this text is. I had assumed that it was the entire abstract and thus would be the same regardless of what search terms were entered. If that's not the case, then this presentation is highly misleading, and I think that's the wrong answer.

    However, if it is the case then I don't think your technical argument really makes sense: there is some search process which is used to select the list of RFCs and then that list is fed into whatever system offers the previews. This has a number of advantages aside from avoiding this kind of mangling, including: (1) It does not require internal access to the search system, so, for instance, you could use Google search (2) It does not require storing any of the text, content, so you can just have a vector database (or whatever) that stores the RFC numbers.

  7. JayDaley commented on May 26, 2026

    @JayDaley

    If it's not the entire abstract then yes this needs revisiting.

  8. jennifer-richards commented on May 27, 2026

    @jennifer-richards
    Member

    It's the entire abstract rendered as plaintext. It's a simple, straightforward bug that the transformation used to prep the full content for fulltext search was applied to it.

    Storing it in the search index means the search results page does not have to do dynamic lookup of abstracts from some other source, and allows the same index to be used by other apps that might eventually allow searches without having to coordinate separate access to a set of abstracts. There's really no benefit to storing the abstracts separately, but it adds a significant complexity and runtime fetch/computation cost.

  9. ekr commented on May 27, 2026

    @ekr
    Author

    I'm not really persuaded but I'm not the maintainer of this code, so that doesn't really matter as long as the bug gets fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

user-interface

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions