Is it possible to make use of rescore when building a query with Spring data elastic? I'm using Spring boot 1.4.0.RC1
Spring Data Elasticsearch has a RescoreBuilder class that you can use to do this.
Related
I have microservice which just reads data from elasticsearch cluster. I want to disable all PUT operations related to mappings at boot time for the index. How can I achieve this?
No way to do this in Spring Data Elasticsearch. But if it's your microservice that accesses the cluster, why do any changing calls at all?
You can use the user and role management from Elasticsearch (xpack) to create a Elasticsearch user that can only read from indices, and then use the basic authentication (available as of Spring Data Elasticsearch 3.2) in Spring Data Elastcsearch to authenticate against Elasticsearch.
I am using spring data elasticsearch. I have a business requirement to use date_detection:false and numeric_detection:false to disable auto date and numeric detection by elasticsearch.
Can some one please help or instruct how to use date_detection:false and numeric_detection:false in spring data elasticsearch?
I would like to use Spring Data Neo4j but I want use only this part of Spring. All my web application I want to build with JSF framework. I have problems to mix Spring Data Neo4j and JSF. Is it possible or is is worth to use spring data Neo4j instead of OGM Neo4j? Maybe is better to stay with simple OGM driver in my case?
Where can someone find an example of users and authorites (roles) stored in a Neo4J DB other than Cineasts that is using old versions of Spring Data Neo4J (SDN). I would prefer it if its only Java Config (no xml) and is using the latest versions of Spring Boot - Spring Security and SDN. Google search does not bring up anything. It will be of great help if someone creates a seed app for this.
https://github.com/pvlastaridis/Neo4JHipster
At last I ve made it. A full authenticated rest app with Neo4J spring-boot and spring-data-neo4j. It is based on fantastic yo generator JHIPSTER. Thank you jhipster. Looking forward for the next update of Spring Data Neo4J so we can have it on a remote Neo4J server.
I am trying to use the Spring Security Core plugin in a Grails project using the Neo4j GORM plugin.
As far as I can see I have two options:
Use the Spring Security Core plugin as is and persist it's data to say MySQL while using Neo4j for the rest of the application data.
Use a custom UserDetailsService.
Does anyone have an example of the latter?
pjdv
You mean like the one in the documentation? http://grails-plugins.github.com/grails-spring-security-core/docs/manual/guide/11%20Custom%20UserDetailsService.html
Since the Neo4j plugin is GORM compliant, spring-security-core's GormUserDetailsService should work out of the box.