How to enable substring search by default (not leading)?

Imagine I have to find "Eisenbahnschwelle".

 

I know to search substrings like this: Eisenbahn*

How do I make this default so I only have to enter: Eisenbahn

Different said:  how to activate wildcard searching by default?

I know already leading wildcard search is not supported yet.

3 answers

0 vote
Davin Studer Community Champion Oct 01, 2015

In the custom html section of Confluence Admin you could set up some JavaScript to append an asterisk to the search when the form is submitted. That is the only way I can think to do it.

0 vote

Hey Thomas,

As Davin suggested, the best way is to set a Java Script, because the search library comes from Apache, so it's little bit limited to customise it.

Is there still no way set this global? Its a bit odd that the search in confluence doesn't work like every other search in the world.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Color tables for a shiny Confluence page

...; ## Developed by: Alana Fernando ## Shared with love ## @param style:title=style type|type=enum|required=true|desc=Choose a style.|enumValues=Style1,Style2,Style3,Style4,Style5 ## @param alignment:title...

209 views 10 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you