NEST adding context information to suggestions - elasticsearch

does NEST support adding context information to suggestions in the current version (1.0.2)? According to this article (http://www.elasticsearch.org/blog/elasticsearch-1-2-adding-context-suggestions/)
I didn't found a way how to achieve this by using fluent API.
thanks.

Not yet. I just opened #927 to add support for this. We'll try and get to it as soon as we can.

Related

How to override entity pluralisation?

I've started playing around with API Platform and it's looking like a fantastic but of kit and generally a quick Google or Stack Overflow search answers and questions I might have.
However, this one I'm struggling with and it could be a simple terminology issue...
How do I go about changing or overriding the automatic pluralisation of entity names? I.e. Fleet is becoming Fleets.
Any tips on where to look for documentation or any quick examples of how to do what I'm after? I'm using annotations.
Thanks in advance!
You can create custom Operation Path Resolver which doesn't use Inflector::pluralize().
There is section in docs about it (https://api-platform.com/docs/core/operation-path-naming/#create-a-custom-operation-path-resolver).
It requires creating custom class which implements OperationPathResolverInterface (https://github.com/api-platform/core/blob/master/src/PathResolver/OperationPathResolverInterface.php)

Sonarqube project tagging via properties

Is there a way to set project tags similar to project key (sonar.projectKey) in the sonar-qube.properties for tags to be automatically added during project creation?
I was looking through the docs:
https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
https://docs.sonarqube.org/display/SONAR/Project+Settings
and wasn't able to find info
Thanks
It can be done via the API.
curl https://my-sonar-server.com/api/project_tags/set?project=projectName&tags=foo,bar,baz,mumble
It is there a bit hidden under Project Information, Description it is possible to add the tags there... I was a bit lost for this myself... SQ is not great in terms of UI. You can type your tags and they will be possible to filter them.

hyperledger composer: Calling a REST API (GET) from Transaction Processor Functions

Would like to make a GET call out of a transaction processor functions.
Found docu how to make a post call here: https://hyperledger.github.io/composer/integrating/call-out.html, but nothing about making a GET call.
Any idea appreciated, thanks!
Unfortunately, there isn't any way at present to do a GET. As the link you provide suggests the POST is an experimental feature and we would welcome feedback suggestions so raising a git issue at https://github.com/hyperledger/composer would be good way to provide feedback, suggestions and use cases/

Correct place to exend FLOW3 Bootstrap?

currently I am trying to register a Doctrine-Eventlistener for every request in my FLOW3-Package. Some research pointed me to the Package.php, but unfortunately the ObjectManager is not available when the boot()-Method is called.
I searched the whole FLOW3-Documentation http://flow3.typo3.org/documentation/guide/partiii/bootstrapping.html without luck
Any hints on which is the right place to do package-wide setup with access to the object manager?
thanks and best regards
Your are bit to early in the bootstrap to get every object, I have a problem, maybe related to yours, you can check my bug report on http://forge.typo3.org/issues/33838
Why do you need a Doctrine Eventlistener, maybe you can use AOP to have this kind of feature ?

restkit and RKManagedObjectSearchEngine

I'm looking for a sample code using RKManagedObjectSearchEngine.
Class are available but not test case and no documentation is available on the API
I have posted this question on the forum but no support :(
Any help is welcome...
The RestKit managed object search engine has been substantially overhauled and completely documented. Please see: https://github.com/RestKit/RestKit/tree/development/Code/Search

Resources