nerdexam
Huawei

H13-723_V2.0 · Question #23

When using Solr for full-text search, you can specify the response format of the query result through the wt parameter. Regarding the response format of Solr query results, what is wrong in the…

The correct answer is B. Support CSV, JSON and HTML. Option B is the wrong statement because Apache Solr's wt (writer type) parameter does not support HTML as a response format. Solr's supported output formats include XML (the default), JSON, CSV, Python, Ruby, PHP, and binary formats like JavaBin - HTML is simply not among them…

Big Data Application Development Best Practices

Question

When using Solr for full-text search, you can specify the response format of the query result through the wt parameter. Regarding the response format of Solr query results, what is wrong in the following statement?

Options

  • ASupport CSV and JSON
  • BSupport CSV, JSON and HTML
  • CSupport CSV, JSON and XML

How the community answered

(17 responses)
  • A
    12% (2)
  • B
    71% (12)
  • C
    18% (3)

Explanation

Option B is the wrong statement because Apache Solr's wt (writer type) parameter does not support HTML as a response format. Solr's supported output formats include XML (the default), JSON, CSV, Python, Ruby, PHP, and binary formats like JavaBin - HTML is simply not among them.

Option A is a correct statement (not wrong), since both CSV and JSON are genuinely supported by the wt parameter, making it a valid distractor. Option C is also a correct statement - CSV, JSON, and XML are all legitimate Solr response formats, so it cannot be the wrong answer.

Memory tip: Think of Solr as a data API, not a web renderer - it outputs raw data formats (XML, JSON, CSV) for programmatic consumption, never presentation-layer formats like HTML. If you see HTML listed among Solr wt options, that's your red flag.

Topics

#Solr full-text search#Response format configuration#wt parameter#Query results

Community Discussion

No community discussion yet for this question.

Full H13-723_V2.0 Practice