On my trial for a client, and I'm not understanding how to separate out a search field in the navbar and then putting the actual results on another page in the site. Using React, and there's no example from what I can see of how this is done.
I don't know that I have a code example handy for this, but typically, you're search field in the navbar would be a simple form, that simply posts to your search page, and passes the search term along as a query parameter.
In other words, submitting the search box in the navbar would simply direct a user to a page like /search?q=some+search+term
Your search results page would then read from the q parameter to initiate a new query and render the results.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.