-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd hashtag search results #1405
Comments
This might be two bugs in one issue, and sorry the issue title isn't more descriptive, I wasn't entirely sure how to describe this behaviour. |
I'm unable to reproduce the mismatched links to paragraphs but otherwise, it's working as intended. Hashtags and searching for them is described on the onemoreaddin.com wiki here. Searching for When it finds a page with your hashtags, it will also show all other hashtags on that page. It highlights direct hits in blue and "other" hashtags in gray, making it easy to find associations. |
Hi @cspotcode, aside from possibly being able to order the sub-results better (showing inline sub-results in document-order), I'm unable to reproduce what you show in your screenshot - multiple sub-results of "#foo #bar" pointing to lines that don't have either #foo or #bar. Please let me know if this is still an ongoing issue or if you have further steps that might help clarify how to reproduce. Thanks! |
Thanks, I'm not sure how it happened, I think I was manually triggering the
hashtag reindex a lot while I was experimenting, so maybe I got the indexer
into a weird state. I haven't been using the hashtag feature lately and
don't think I'll have time to attempt another reproduction. We can close
this if you want. Thanks again for taking a look.
…On Sat, Jul 13, 2024, 7:46 AM Steven ***@***.***> wrote:
Hi @cspotcode <https://github.com/cspotcode>, aside from possibly being
able to order the sub-results better (showing inline sub-results in
document-order), I'm unable to reproduce what you show in your screenshot -
multiple sub-results of "#foo #bar" pointing to lines that don't have
either #foo or #bar.
image.png (view on web)
<https://github.com/user-attachments/assets/8f016dc7-aca4-49e3-94bd-4ce9b31b54ee>
Please let me know if this is still an ongoing issue or if you have
further steps that might help clarify how to reproduce. Thanks!
—
Reply to this email directly, view it on GitHub
<#1405 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC35OHYPQGIR4GGH62GUQDZMEHRNAVCNFSM6AAAAABH65MJYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWHA3TENBRG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'll keep it open to look into the ordering of sub-items. Thanks! |
* Capture tags in document order stevencohn#1405 * rewrite tags to reestablish full doc order amonst all stevencohn#1405
* Capture tags in document order stevencohn#1405 * rewrite tags to reestablish full doc order amonst all stevencohn#1405
Problem to Solve
Adding hashtags, searching for pairs of hashtags, and re-scanning while re-submitting my search query to see updated results, seems to get search results into a confusing state.
I've created 4 lines with different combinations of hashtags on a page, shown in screenshot below. At first I tried searching for
#foo #bar
to verify that search would only show me the line with both hashtags, not the lines with a single hashtag.Then I added the line with
#baz
, re-ran the scan, and searched for#baz
. This screenshot shows the search results. The red arrows show which paragraph is highlighted when clicking each search result.To Reproduce
Steps to reproduce the behavior:
#foo #bar
#baz
Expected Behavior
I was hoping that searching for
#foo #bar
would show a single search result: the paragraph with both hashtags #foo and #bar.I expected that searching for
#baz
would show a single search result: the paragraph with the hashtag #baz.I expected that the hashtags shown in search results would match those on the page. But instead I see the link to the
#bar
paragraph showing#foo #bar
in the search results pane.Screenshots
Environment (if applicable)
Additional Context
Add any other context about the problem here. Attach page XML file or the app log file as appropriate. You can find the log file here: %localappdata%\temp\OneMore.log
THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!
The text was updated successfully, but these errors were encountered: