You Are Being Redirected To Lumen

Our new self-service and case management experience on the SearchUnify Community.

Redirecting in 10 seconds...

Keyword based boosting - regex pattern

Comments

1 comment

  • sugrokker
    There can be multiple regex expressions. A straightforward one that captures six-digit numbers starting with 35 is: ```35[0-9]{4}```. The expression has two parts: a literal match ```35``` and an expression which matches any digit between 0 and 9 (```[0-9]```) four times (```{4}```). Thus, ```35[0-9]{4}``` will match all the numbers from 350000 through 359999. The number(s) can occur anywhere in the text. You can actually test this regex on an online tool, such as [Regex Match](https://regexr.com/).

    # Instructions for Running Regex Queries
    End users can look up documents containing a number between 350000 and 359999 in two ways:

    1. If the search query consists of only a number, then wrap it with a hash and an asterisk. Correct sample query: ```# 3512*```. The asterisk acts as a placeholder the sample query can fetch up to 100 documents. Incorrect sample query: ```3512```.
    2. Use the number with a word query. Example: ```case 351``` or ```issue 3512```. The word query fetches results and because of ```351``` or ```3512```, the docs with a six-digit number turn up on top.
    0

Please sign in to leave a comment.