I have a field CaseNumber that is indexed but I can't get any hits on the field when I search using unified search. The number is present 4 times in the indexed content, as CaseNumber
and CaseNumber within SearchMetadata
I have tested this using this code:
var result = SearchClient.Instance.UnifiedSearch().For(q).GetResult();
Anyone got an idea why?/Frode
Which values have you tested for "q". Do you get an exact match searching with "-chars around the phrase?
No, that gives no hits.
But I added the casenumber to SearchSummary and now I get hits on the number, but the excerpt is blank in these hits. anyone know why that happen?
As a test, can you try wrapping the search text in quotes?
The solution for this was to add the casenumber to the property SearchSummary. I can search on the whole number but not parts of it.