Xpages FTSearch - would "verry" match "very" in fuzzy searches - xpages

I want to check how the fuzzy search works (esp in Lotus Notes databases). What kind of variants can I expect to match with fuzzy search?

Related

Azure Cognitive Search Hit Highlighting full phrase

This is a question to Azure Cognitive Search team. Currently we are highlighting all of the terms that are in the phrase when we try to search for exact phrase or do a proximity search.
Received an email saying that from July 15 we will be able to get updated hit highlighting mechanism.
Now it will highlight only phrases that match the full phrase query.
https://learn.microsoft.com/ru-ru/azure/search/search-pagination-page-layout
So, will highlighting change only for exact phrase search? What about proximity search? Will we highlight only the phrase? Or it will work as it is working now - highlighting all terms from the phrase everywhere they occur?
I am an engineer on the Azure Search team. Users will have improved hit highlighting behavior as notified. One of the improvements is that highlighting with phrase and proximity queries is more accurate. So, even proximity queries will see a different behavior. The new highlights for the query "quick brown"~2 will look like this -
The <b>quick</b> <em>brown</em> fox jumped over the <em>quick</em> and <em>brown</em> dog but not the quick one that was not brown.

using lucene fuzzy search and synonyms with Azure Search

I want to be able to handle fuzzy search, as well as synonyms at the same time.
I tried it in a several ways, but I cannot get it working.
I have these values in my index:
white
black
light
dark
and this synonym rules:
white,light
black,dark
If I perform the query queryType=full&search=light or queryType=full&search=white, it always returns both values, light and white.
So synonyms are working.
If I perform the query queryType=full&search=light~1, then only light will be returned. But where is white?
Is the combination of fuzzy search and synonyms not possible yet, or am I doing something wrong?
Synonym expansions do not apply to wildcard search terms; prefix, fuzzy, and regex terms aren't expanded.
If you need to do a single query that applies synonym expansion and wildcard, regex, or fuzzy searches, you can combine the queries using the OR syntax.
For example, to combine synonyms with fuzzy search you would need to have query like this:
search=light~1|light
or
queryType=full&search=light OR light~1
if you're using Lucene query syntax

Search for question mark (?) in Azure Search

I have a filed in an Azure Search index that contains URL's. I'm and trying to search the field for any URL's that contain a question mark (?). When I use just the question mark for the search text, no results are returned. Is it possible to search for just the question mark?
Did you read the following documentations?
Wildcard search
Simple query
Both states that you must excape special characters with backslash. When you do wildcard search
You cannot use a * or ? symbol as the first character of a search. No
text analysis is performed on wildcard search queries.
I think this will not apply if you escape them.

How can I search a fuzzy order in CtrlP

In other editors like sublime, if I search for usermodel it will match the path of models/users.ex, however in CtrlP if I do the same query it will fail. I have to remember to search the path modeluser to make the match.
Is there a way to tweak this so that usermodel or user model would match? I've read the docs and don't see a way but i'm new to it and am not sure if i'm just missing something.
AFAIK CtrlP can't do it but you can try writing your custom matcher (see an example here).
There is also Unite with similar functionality which allows to separate multiple patterns with space to narrow down the candidates. This way user model will match anything containing these two words in any order.
I ended up switching to emacs (spacemacs) with evil mode (gasp) for the improved Elixir support and i'm able to fuzzy search out of order with Helm.

Jira Query for hyphenated words

There are many words which can have a hyphen, a space or be a full word. For example:
Wifi
Wi-fi
Wi fi
I am attempting to figure out if there is some kind of wildcard search that will allow me to capture all three as a result when I do a search in Jira. Using * search (for example, searching "wi*fi" returns either Wi-fi or Wi fi but wont return the full version Wifi
Is there a simple way I can get all three variants of Wifi to return using a simple wildcard search?
From reading the Performing Text Searches documentation it says:
JIRA does NOT support leading wildcards or Wildcards in phrases currently
However it later says:
To perform a single character wildcard search use the "?" symbol.
To perform a multiple character wildcard search use the "*" symbol.
So as to why your search is not working I am unsure.
However they do recommend installing the ScriptRunner plugin which beefs up the JQL and allows you to use a regex:
issueFunction in issueFieldMatch("project = JRA", "description", "ABC\\d{4}")
Which may be of interest to you.
The simplest option is to combine multiple searches here:
(fieldname ~ "wi*fi" or fieldname ~ "wifi") will return the desired results.

Resources