Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GenericProperty.Indexed to support bool? values #3225

Merged
merged 1 commit into from
Apr 30, 2018
Merged

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Apr 30, 2018

This commit adds GenericProperty.Indexed to allow a
bool? value to be specified for the field's "index" value,
in line with other properties.

Deprecate the usage of GenericProperty.Index and point users to users
GenericProperty.Indexed. If a user does continue to use GenericProperty.Index
however, set a value of true for FieldIndexOption.Analyzed and
FieldIndexOption.NotAnalyzed, false for FieldIndexOption.No, and null for null.

GenericProperty.Index will be updated to type bool? in 7.x in #3224

Fixes #3103

This commit adds GenericProperty.Indexed to allow a
bool? value to be specified for the field's "index" value,
in line with other properties.

Deprecate the usage of GenericProperty.Index and point users to users
GenericProperty.Indexed. If a user does continue to use GenericProperty.Index
however, set a value of true for FieldIndexOption.Analyzed and
FieldIndexOption.NotAnalyzed, false for FieldIndexOption.No, and null for null.

GenericProperty.Index will be updated to type bool? in 7.x

Fixes #3103
Copy link
Contributor

@codebrain codebrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@russcam russcam merged commit 79caff0 into 6.x Apr 30, 2018
russcam added a commit that referenced this pull request Apr 30, 2018
This commit adds GenericProperty.Indexed to allow a
bool? value to be specified for the field's "index" value,
in line with other properties.

Deprecate the usage of GenericProperty.Index and point users to users
GenericProperty.Indexed. If a user does continue to use GenericProperty.Index
however, set a value of true for FieldIndexOption.Analyzed and
FieldIndexOption.NotAnalyzed, false for FieldIndexOption.No, and null for null.

GenericProperty.Index will be updated to type bool? in 7.x

Fixes #3103
(cherry picked from commit 79caff0)
@russcam russcam deleted the fix/6.x-3103 branch August 24, 2018 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants