question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When can we expect to set normalizers using the SimpleFieldAttribute properties?

See original GitHub issue

Query/Question When can we expect to set normalizers using the SimpleFieldAttribute properties? I see that normalizers are in Azure.Search.Documents 11.3.0-beta.1 https://github.com/Azure/azure-sdk-for-net/blob/Azure.Search.Documents_11.3.0/sdk/search/Azure.Search.Documents/CHANGELOG.md But there doesn’t seem to be support for adding the normalizer via an attribute yet. I expect that a normalizer would be set like any other analyzer. example:

[SimpleField(NormalizerName = LexicalNormalizerName.Standard)]
[SearchableField(NormalizerName = LexicalNormalizerName.Standard)]

It would be really useful to get a quick answer on IF this is in the backlog and if it is in the backlog, WHEN it would be expected. Otherwise, we’ll have to write some workaround for this. Thanks!

Environment:

  • Name and version of the Library package used: Azure.Search.Documents 11.3.0-beta.1
  • Hosting platform or OS and .NET runtime version: Windows 10
  • IDE and version : Visual Studio 2019 16.10.4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pallavitcommented, Jun 15, 2022

/cc: @alzimmermsft this was a customer ask on the library.

0reactions
ShivangiRejacommented, Aug 10, 2022

This feature is implemented here and released in 11.4.0-beta.9 version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SimpleFieldAttribute Class (Azure.Search.Documents. ...
Gets or sets whether the field is returned in search results. The default is false. A key field where IsKey is true must...
Read more >
SimpleFieldAttribute.NormalizerName Property
The name of the normalizer to use for the field. This option can be used only with fields with filterable, sortable, or facetable...
Read more >
Class SimpleFieldAttribute | Azure SDK for .NET
This option can be used only with fields with filterable, sortable, or facetable enabled. Once the normalizer is chosen, it cannot be changed...
Read more >
Class SearchField | Azure SDK for .NET
Gets or sets the name of the analyzer used at indexing time for the field. This option can be used only with searchable...
Read more >
How to Create your Custom Normalizer
The Serializer component uses normalizers to transform any data into an array. The component provides several built-in normalizers but you may need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found