Skip to content

YU000jp/logseq-plugin-logging-search

Repository files navigation

Logseq Plugin: Logging Search 🔎

  • This plugin displays search results using query or page embedding.
    • The search function in Logseq core cannot display blocks. Use the query feature to overcome this.

Warning

This plugin does not work with Logseq db version.

Overview

  • A search box will be placed in the left menu of Logseq. Enter text there to search.
  • A temporary search results page is generated, where the embedding and query are placed.
  1. Submit a keyword from the left menu

    • Press Enter to send.
    • To open in the sidebar, turn on the toggle next to the input field.
    • Content mode selection
      1. All blocks containing the keyword (Full text search)
      2. List relevant pages (link only)
      3. Contents of relevant pages (embed)
      4. All blocks linked to related pages

    image

  2. Search result in the right sidebar or as main page

    • This plugin generates the block with the query on behalf of the user. It will be quicker than a user can follow the procedure.
    • The query is valid either as a block-by-block view or as a time-series log in a journal.

    image


Getting Started

Install from Logseq Marketplace

  • Press [---] on the top right toolbar to open [Plugins]. Select marketplace. Type search in the search field, select it from the search results and install

    image


Showcase / Questions / Ideas / Help

Go to the Discussions tab to ask and find this kind of things.

  1. Currently, search terms are matched case-sensitive and space-sensitive.
  2. In embed mode, it can be displayed in card tile style. (Except in the sidebar)

    image

  3. As with normal embed, it can be edited on the fly. If the display area is too small, open it in the sidebar or zoom in.
  4. When this plugin is turned on, the “Logging-Search-Plugin” page is generated. This will be restored even if you delete it.
  5. This plugin still has room for improvement. Please let me know if you encounter any issues or have any ideas for enhancement.
  6. This plugin relies on Logseq's DOM (Document Object Model) structure. If the DOM structure changes due to a Logseq version update, styles may not be applied. We will adjust the CSS to deal with it. If you notice something, please raise an issue.
  7. Related plugins
    1. Draft Notes
    2. Multi Random Note

Prior art & Credit

Icon > icooon-mono.com

Author > @YU000jp