Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Dec 18, 2017

PhraseSuggestCollate Query takes an ITemplateQuery that allows the specification of parameters. The API of phrase suggester however specifies the parameters for the query at the same level as the query, not nested within the query object. This commit adds a Parameters dictionary to IPhraseSuggestCollate so that parameters are serialized to the correct query form. If parameters are specified on the ITemplateQuery, these are assigned to the parameters on IPhraseSuggestCollate.

Add XML documentation to indicate the usage of each property.

Closes #2849

PhraseSuggestCollate Query takes an ITemplateQuery that allows the specification of parameters. The API of phrase suggester however specifies the parameters for the query at the same level as the query, not nested within the query object. This commit adds a Parameters dictionary to IPhraseSuggestCollate so that parameters are serialized to the correct query form. If parameters are specified on the ITemplateQuery, these are assigned to the parameters on IPhraseSuggestCollate.

Add XML documentation to indicate the usage of each property.

Closes #2849
@russcam
Copy link
Contributor Author

russcam commented Dec 18, 2017

Requires a port to master. This port should probably not use ITemplateQuery and instead define a new type that does not expose a Params property

@russcam russcam merged commit f905270 into 5.x Dec 21, 2017
russcam added a commit that referenced this pull request Dec 21, 2017
PhraseSuggestCollate Query takes an IScript that allows the specification of parameters. The API of phrase suggester however specifies the parameters for the query at the same level as the query, not nested within the query object. This commit adds a Parameters dictionary to IPhraseSuggestCollate so that parameters are serialized to the correct query form. If parameters are specified on the IScript, these are assigned to the parameters on IPhraseSuggestCollate.

Add XML documentation to indicate the usage of each property.

Closes #2849

(cherry picked from commit f905270)
@Mpdreamz Mpdreamz deleted the fix/phrase-suggest-collate branch January 30, 2018 15:08
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.

3 participants