Spring data elastic | search after query - spring

I am using ElasticsearchRepository.I am looking is there any way to perform search after query using this.I have checked spring data docs but didnt find the way.Can anybody help on this.

Related

Elasticsearch 6.4.2 | Graph not able to see anything

Installed ES 6.4.2 & Kibana 6.4.2.
Installed a trial license using the API on ES.
When I opened the graph workspace on Kibana and loaded my index pattern, nothing actually is shown. Also, the query text field is read only.
Is there any settings I'm missing somewhere? Also, are there any simple examples of Graph in GitHub somewhere?
Thanks.
Once you select the index pattern click on the + icon to add the index pattern. Select a field, add it and you should be able to use the query text field

FTS Alfresco OR not working on empty property

I am executing a query against Alfresco using FTS. I want to find files that have my:property empty. This is part of my query:
AND (ISNULL:"my:property" OR ISUNSET:"my:property" OR =my:property:"")
When testing I discovered that this will not find my file when my:property is set to an empty string. When I change the query to this it does find that file:
AND (=my:property:"")
It seems to me that the OR statements aren't executed appropriately.
Can anyone tell me what I'm doing wrong here?
Edit: I'm using Alfresco Community 5.1f

delete by query in jest elastic search 5.5

I am looking to delete a document by query using jest client. In elastic search 2.0 it can be done by adding delete by query plugin and by writing the code
DeleteByQuery deleteAllUserJohn = new DeleteByQuery.Builder("{\"user \":\"john\"}")
.addIndex("users")
.addType("user")
.build();
client.execute(deleteAllUserJohn);
But this is not supporting in elastic 5.5. There should be solution for this but I am not getting it after lots of searching. Please suggest how to do this or if there any link for that please let me know.
Thank you

Which javascript/node module is best for Elastic search Query DSL

Hi started using elasticsearch in my node app, from the elasticsearch document,
elastic.js, esq, or bodybuilder can be used to make building query
bodies easier.
I am not sure which is the best module to use, both modules have not been updated since a while.Bodybuilder does not support all the filters/queries, elastic.js looks like it supports most of the filters/queries, but its documentation is inaccessible. Can somebody suggest me a good module.
The official js library is the best, I would say.
For the query, I create my own, concatenating values.
This is the most complete example for using it: Link.
That and do previous to that one in the same page.

Using NEST, Index documents in ElasticSearch which is authenticated using Jetty

I have authenticated a machine which hosts Elastic Search, using Jetty plugin. Everything works fine with respect to security. But my problem is I need to add documents / update documents in the same index which is secured using Jetty. In NEST I tried to find anything related to a method connecting uri(secured by jetty) with username and password to index my data. But no method or API helps out.
I need to know "Whether NEST supports, indexing Elastic Search secured by Jetty" and if answer is yes, then please tell how it can be done.
Thanks,
PDK
Can you try putting the username/password in the URI that you are using to connect to your Jetty secured Elasticsearch index.
http://username:password#elasticsearchhost:9200
Since you are required to pass a Uri object to the ConnectionSettings for NEST you can set it like the following:
(Updated 4/25/14 - reflect correct usage with Uri class.)
var uri = new Uri("http://username:password#elasticsearchhost");
var client = new ElasticClient(new ConnectionSettings(uri));

Resources