Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setSource (0.06 sec)

  1. UpgradeUtil.java

    catch (final Exception e) { L103: logger.warn("{} is not found.", mappingFile, e); L104: } L105: try { L106: final AcknowledgedResponse putMappingResponse = indicesClient.preparePutMapping(index).setSource(source, XContentType.JSON) L107: .execute().actionGet(fessConfig.getIndexIndicesTimeout()); L108: if (putMappingResponse.isAcknowledged()) { L109: logger.info("Created {}/{} mapping.", index,...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      9.1K bytes
  2. SearchEngineClient.java

    L1528: response = client.prepareIndex().setIndex(index).setSource(new DocMap(source)).setRefreshPolicy(RefreshPolicy.IMMEDIATE) L1529: .setOpType(OpType.CREATE).execute().actionGet(fessConfig.getIndexIndexTimeout()); L1530: } else { L1531: // create or update L1532: final IndexRequestBuilder builder = client.prepareIndex().setIndex(index).setId(id).setSource(new DocMap(source)) L1533: .setRefreshPoli...
    github.com/codelibs/fess/src/main/java/org/code...
    Sun Oct 20 02:08:03 UTC 2024
      86.1K bytes
  3. EsAbstractBehavior.java

    response.getResult() == Result.CREATED ? 1 : 0; L292: } L293: L294: protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { L295: final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); L296: final String id = esEntity.asDocMeta().id(); L297: if (id != null) { L298: builder.setId(id); L299: } L300: final RequestOptionCall<IndexRequestBuilder> indexOption = esEntity.asD...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      26.4K bytes
  4. EsAbstractBehavior.java

    response.getResult() == Result.CREATED ? 1 : 0; L292: } L293: L294: protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { L295: final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); L296: final String id = esEntity.asDocMeta().id(); L297: if (id != null) { L298: builder.setId(id); L299: } L300: final RequestOptionCall<IndexRequestBuilder> indexOption = esEntity.asD...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      26.4K bytes
  5. EsAbstractBehavior.java

    response.getResult() == Result.CREATED ? 1 : 0; L292: } L293: L294: protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { L295: final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); L296: final String id = esEntity.asDocMeta().id(); L297: if (id != null) { L298: builder.setId(id); L299: } L300: final RequestOptionCall<IndexRequestBuilder> indexOption = esEntity.asD...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      26.4K bytes
Back to top