exam questions

Exam AD0-E722 All Questions

View all questions & answers for the AD0-E722 exam

Exam AD0-E722 topic 1 question 5 discussion

Actual exam question from Adobe's AD0-E722
Question #: 5
Topic #: 1
[All AD0-E722 Questions]

An Adobe Commerce Architect creates a stopword for the Italian locale named stopwordsJtJT.csv and changes the stopword directory to the following:
<magento_root>/app/code/CustomVendor/Elasticsearch/etc/stopwords/
What is the correct approach to change the stopwords directory inside the custom module?

  • A. Add stopwords to the stopwordsDirectory and CustomVendor_Elasticsearch to the stopwordsModule parameter of the \Magento\Elasticsearch\SearchAdapter\Query\Preprocessor\Stopwords class via di.xml
  • B. Add a new class implementing \Magento\Framework\Setup\Patch\PatchInterface to modify the default Value of elasticsearch\custom\stopwordspath in core_config_data table.
  • C. Add stopwords to the stopwordsDirectory parameter of the \Magento\Elasticsearch\Model\Adapter\Document\DirectoryBuilder class via stopwords/it.xml and Adobe Commerce will automatically detect the current module.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago