Skip to content

Search for multiple words #2674

Open
Open

Description

@bont007

*CherryTree 1.3.0, Windows 11 Home 24H2

When searching for more than one word or keyword (like "apple" AND "pea", or "apple" OR "pea") in the current tree (with node content, name and tags in Richtext format being marked) CT returns: “Search pattern not found”. However, individual key-/words (like either "apple" or "pea") are found. So, is this multiple search possible after all, and is regex necessary for it?

Activity

  1. gitvectors commented on Mar 17, 2025

    @gitvectors

    I search for multiple words in multiple ctd files (individual CT file) using Recoll indexing engine. It is free in Ubuntu.Linux but a small donation required for Windows usage. well recommended.
    So you would type .. in Query ..
    ext:ctd "apple" AND "pea"
    OR
    ext:ctd "apple" OR "pea"
    There are much more advanced search operators available if you view cheat sheet by hovering mouse over query field. The above are easy.

    ext:ctd narrows search space to all CT files with extension ctd.

    Another way is to search ctd as an XML file using xpath in XMLCopyEditor.

  2. giuspen commented on Aug 23, 2025

    @giuspen
    Owner

    Please try the test version https://www.giuspen.net/cherrytree/#downl so-called v1.5.0+47 where the AND has been implemented.
    Look in the search dialog for a new option:

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions