datashare icon indicating copy to clipboard operation
datashare copied to clipboard

Batch search - Number of fields error

Open randolphgow opened this issue 2 years ago • 1 comments

When performing a batch search, we encountered an issue relating to the number of fields that can be used during a search in ElasticSearch. The following error is displayed: error:Object root_cause:Array[1] 0:Object type:"query_shard_exception" reason:"failed to create query: field expansion for [*] matches too many fields, limit: 1024, got: 6504"

To Reproduce Steps to reproduce the behavior:

  1. Create a batch search
  2. Run a batch search

Expected behavior Either there should be a way to lift the limitation and search on all columns, which is obviously not desirable. The best solution here is to allow a user to specify the columns that should be search, or at least add an option to search only the Content field, which is the most common field being searched.

Desktop

  • OS: e.g. Linux
  • Browser: Chrome
  • DataShare Server Version: 10.5.1

randolphgow avatar Jun 27 '22 16:06 randolphgow

Hi @randolphgow, you seem to have a similar issue raised in the post here. You can try the solution proposed in the reply.

mvanzalu avatar Jul 15 '22 09:07 mvanzalu

This issue is stale because it has been open for 40 days with no activity.

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]