Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

State

[Progress progress record]:

Proposed time: 2022/10/10

Discussion time:

Accept/Reject Time:

Complete time:

[issues]: To be added

[email]: After creating the LKIP and writing the preliminary content, start a discussion on the LKIP proposal. Currently, the discussion must be initiated in the WeChat group [Apache Linkis Community Development Group], and the minutes can be sent to the official dev mailbox of linkis. The email address for the minutes can be placed here

[Releaserelease]: The (planned) release version of Linkis

[Proposerproposer]: peacewong

Motivation & Background

1. Users want to be able to perform fuzzy search by code on Linkis' historical tasks
2. Need to be able to control permissions, ordinary users can only search their own code

Basic concept

  •  The management console supports code fuzzy search, and supports highlighting of matching content

Expect to achieve goals

  • 1. Support fuzzy search of historical code and strictly control permissions
  • 2. Phase 1 only supports retrieval of T-1 codes
  • 3. Supports highlighting of retrieved codes

Implementation plan

  • 1. To realize the task of batch derivative, import yesterday's historical tasks into ES regularly through Exchange every day. It should be noted that retrieval is temporarily not supported for codes exceeding 50,000.
  • 2. Implement back-end search interface through ESClient, only support fuzzy search according to code
  • 3. Support code fuzzy search function through plug-in, which is not enabled by default

Remark: Why only 50000 is supported, because when Linkis stores the code, if it exceeds 50000, the code will be stored in the file system, and only the corresponding file path is stored in the database. There is no corresponding code for batch importing into ES. In addition, it is also to reduce the pressure on ES as much as possible when searching.

...