Update documentation on intraRules, search example#54
Update documentation on intraRules, search example#54ascendedguard wants to merge 2 commits intoleeoniya:mainfrom
Conversation
| // Order may be null when doing out of order searching | ||
| // when the # of search terms exceed the max allowed |
There was a problem hiding this comment.
actually, any of them can be null.
iirc 🤣 ...
idxscan be null if the search string ends up empty after trimming whitespace and removing non-alphanumeric chars (except those in quotes, for exact matches)infowill be null if the number of results exceedsinfoThresh
There was a problem hiding this comment.
and they're null in sequence.
if order is not null, then idxs and info is not null.
if info is not null then idxs is not null
if idxs is null, everything is null
|
thanks! i actually want to encourage people to use the integrated search, so feel like it should be listed first, but struggle with how to explain the concepts of |
|
Added some more detail to explain it some more, let me know what you think. Forgot to mention it originally, but I left the variable declarations as |
|
Anything you need to be able to close this out? |
Updated the docs on the few things I struggled a bit with:
intraRuleswasn't documented, so I added it based on Single Error mode only allowing exact matches under 5 characters #53intraSub,intraTrn, andintraDel, I kept finding myself having to re-search through the docs to remember what they meant, as it only said in theintraMode: 1section.For the search example, I didn't include it in the doc but I did test it out via Codepen: https://codepen.io/ascendedguard/pen/PoLZdBJ