java

How to use sql Like Operator in elastic search jdbc importer  #angularjs #reactjs

  • CREATE VIEW your_jdbc_view AS Select id as _id, id, name from course where name like ‘%name%’;
  • Stack Overflow works best with JavaScript enabled
  • String name) { System.out.println(“check search value” + ” ” + name); return getResponseEntity(autoCompleteRepository.findByName(name), RestStatus.OK.getCode(), RestStatus.OK.getText()); } }
  • Join the Stack Overflow Community
  • Autocomplete; public interface AutocompleteRepository extends ElasticsearchRepository{ public List findByName(String name); }

Technologies used in my project(Spring mvc , elasticsearch, rest api) , the problem is, my elastic search jdbc importer not able to run sql like operator, iam fetching null data , so please could anyone help me on this.

@ng_real_ninja: How to use sql Like Operator in elastic search jdbc importer #angularjs #reactjs

There are at least 2 ways to do this. I use the 2nd because I do not have to do the ‘ to \’ change to use in jdbc and change \’ to ‘ to test the query in sql tools.

java