notea icon indicating copy to clipboard operation
notea copied to clipboard

Issue: 'Search note' does not always work as expected

Open resettarget opened this issue 4 years ago • 3 comments

Hi there 'search note' or I'll call it 'global search' seems broken in this case (highly simplified but still demonstrate the issue):

To reproduce : I created 3 pages: page1: title: CrashDump content: info about all the crashdump in linux

page2: title: device content: the Windows support info for all the

page3: title ARM test content: arm info on the doc architecture reference manual

so each page contains the word 'info'. However when I search 'info', only 2 pages are revealed in search result. page3 contains 'info' but not in search result.

search result screenshot image

Any more info needed? Please let me know.

My Environment: notea is git cloned just today, yarn install/build. Data back-end is minio. Both notea and minio are natively self-hosted locally on localhost:PORT on my Windows 10 workstation, no docker etc. Thanks.

resettarget avatar Jun 01 '21 04:06 resettarget

image It's working for me. Does it work after refreshing the page?

QingWei-Li avatar Jun 01 '21 13:06 QingWei-Li

This is weird, on my side searching 'i' could get all the pages, screenshot below: image

while I continued to input 'n' so to search 'in', then only 2 pages in search result: image

then searching 'inf' and 'info' both got only 2 pages result.

Anything I can do to help investigate? like a special build which has more debug log, or shall I do something like 'rebuild index'?

resettarget avatar Jun 02 '21 02:06 resettarget

Oh, btw, I shift+F5 to refresh page, closed and reopened localhost:3000, neither worked, still 2 pages in result

resettarget avatar Jun 02 '21 02:06 resettarget