I have noticed that when performing a phrase search with double quotes, azure Search return appropriate search results but it highlights each individual word in the phrase.
For example when we do phrase search on “data scientist” it highlights “Data” and "Scientist" as well ideally it should have highlighted just “data scientist”.
Is this the default behavior of Azure Search and is there any way to alter it.
Is this the default behavior of Azure Search and is there any way to alter it.
Unfortunately there is no way to customize this behavior at the moment.
In Azure Search we use Lucene's Postings Highlighter. This highlighter ignores positions of terms that matched, that's why you see all phrase terms highlighted independently.
You could refer to the similar SO thread.
If you want to promote this feature to achieve you could go to feedback page and vote for it.
Related
Something weird happens when trying to use a custom entity multi-select as a custom field. When searching for "Apple W" these results show:
Yet when trying to search for "Apple Wat" this happens completely breaking this search functionality:
Does anyone know why this happens? It also seems to happen in other fields. I've also tried setting the search settings to "AND", but I presume that to only be working for the Storefront search.
Edit:
A similar problem seems to appear when using the Storefront search with "OR" as your search behaviour or when having "Split search terms" enabled on 'product name' in the search configuration.
Currently in M365 Lists, you can only do a partial word search using a wildcard. This also applies to SharePoint searches, but does not apply to most other M365 programs. I contacted Microsoft because, in earlier versions, it was a setting to enable or disable needing the wildcard. Microsoft says it cannot be done - need to use wildcard. I do know that when you start typing in the Search, it will bring up all records with whatever you type directly under the Search. If you pick one, it brings you up to another screen - again users not used to and not feasible. If you enter on the Search with a partial word, it brings up a blank list.
Issue - this is for a phone database that over 1500 people use. Current database does not require wildcard. So you can type kal and get all names starting with kal. To try to tell 1500 people how to do it (include wildcard), is just not feasible. I have asked Microsoft if we could add a field to top of list that we could code to search (without wildcard). Have not heard back yet, but it seems like it is first level support that is answering any support questions I have even when I ask to give it to someone higher up.
So, does anyone know how you can do a partial word search in Lists without the wildcard - either by changing the config of Search or creating a new field that will allow users to search? Welcome to all ideas. Thanks!
For some reason, a search for our company name (“hometalk”) does not produce the search box in the results (even though we do have sitelinks).
We are adding schema markup as outlined here, but we're not sure about:
Will adding the code make the search bar appear (or at least increase the chances), or is it only going to change the functionality of the search box (to on-site search) for results that are already showing a search bar?
It is only going to change the functionality of the search box (to on-site search) for results that are already showing a search bar.
As stated here: https://developers.google.com/webmasters/richsnippets/sitelinkssearch
Search box not displaying? The sitelinks search box appears only for navigational queries and when relevant for users. Google
algorithms use a variety of factors to determine when the box appears,
including the information on the site and different types of
navigational queries from Search users.
Short question:
Is it possible in SharePoint 2010 to disable word breaking in the search engine?
Long question:
SharePoint search engine breaks up words in the index. For example: motorcycle will be indexed as motor and cycle. So a search for motor will result in a hit on motorcycle.
A customer would like to disable this functionality. Is that possible? So that a search for motor will result in only motor and not motorcycle?
I am not 100% sure but if you use Quotes around your key term i.e. "MotorCycle" , then you should get results with exact match and not for motor or for cycle.
Also most of search engine including bing, google and sp2010 search uses same behaviour
Sandeep
In an existing code base, the call to parse dates depends on the machine's culture. I created a custom resharper search/replace pattern that can spot and fix these calls.
Is there a way quickly find and fix all the hits of this search replace pattern? I'm now doing them one by one and it's going to take forever ...
Isn't the 'Global Fix' at the end of that very blog post you link to exactly what you want?
Global Fix What we’ve just done is a manual local fix,
that is, locate the offending entry and hit Alt+Enter to apply a
QuickFix. We can do this at a global scope by using the
Pattern Catalog tool window.
1. Undo the prefix fix (so as to have several instances) 2.
Open up the Patterns Catalog 3. Select the
recently created Pattern and click on Search now.
This time, instead of the Find Results dialog, we get a Replace dialog
which displays all matching patterns and a Replace
button
4. We can select
the entries we want replacing (by default all checked). Click
Replace We’re done! ReSharper will now
replace all occurrences. So we’ve applied a QuickFix
globally.