Skip to content
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

Request: Search results ordering option #32

Open
TiddlyTweeter opened this issue Nov 26, 2018 · 2 comments
Open

Request: Search results ordering option #32

TiddlyTweeter opened this issue Nov 26, 2018 · 2 comments

Comments

@TiddlyTweeter
Copy link

TiddlyTweeter commented Nov 26, 2018

The latest version is really shaping up into a useful tool for TW. Tx!

For my use case the Sort-Order of results matters. Let me give an example.

You writing a novel and use Tiddler titles to order them (e.g. Chap 7.04, Chap 7.05 etc).

The way the tool delivers results by "hit relevance" is very good under some situations. But its not ideal for coping with sequential texts where their original (alpha-numeric) order matters. In those cases you want to view/edit them in original written sequence.

My request: Would it be possible to add a directive to be able to define a sort order for results?

Hope this is clear! Best wishes, Josiah

@TiddlyTweeter TiddlyTweeter changed the title Request: On search results ordering option Request: Search results ordering option Nov 26, 2018
@hoelzro
Copy link
Owner

hoelzro commented Nov 26, 2018

@TiddlyTweeter Thanks for taking the time to try out the plugin, and for the feedback! I'm trying to think of the best way to reconcile this with the "core" of the FTS plugin; after all, the relevance-based search order is one of the "features", as you point out. At the bare minimum, you could tweak the search results tiddler to add sort[] to the end of the filter, but I need to think about how sorting the results alphabetically would fit into the grand scheme of things.

@TiddlyTweeter
Copy link
Author

@hoelzro FWIW I agree that "relevance sort" is king and good. My comment only applies to a few narrow cases. But if those could be supported I think it could help on some writing tasks. Maybe is could be done, as you say, by option to add a final sort.

In a way I'm not even expecting you to provide a solution--an alternative would be enough clues about how the end user could do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants