I don't know how your data is modeled but I believe that the product/item must have some target like "man"/"woman"/"unisex". If there is any of these classifications in the documents you could add a filter to your query and from there you would have the products for that genre. I also imagine that you know the user's gender because she does the search in a logged in environment.
I would like to understand how to include the gender type as suffix in the suggestions returned from Elasticsearch. Is there any special feature for adding filter type as text in the response or do we have to do it otherwise.
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.