0

I just added conditions in the search scope.

I could see the result in the backend, but the same is not returning the search result component.

enter image description here

enter image description here

If I remove the date condition, it is returning the result.

Note:

Event_end_date_s field is the computed field, i just created for filtering.

1

2 Answers 2

1

Arul,

The field name will be Event_end_date or one you have given in your computed index. Don't take the name from Solr. As Solr indexes are adding _* after the field name depending on the field type.

Check where is the computed index added. It should be added in Master DB as well. If you have added in DefaultSolrConfiguration then it is available everywhere.

Then check the search log file, find the query you are running and run that query directly in Solr.

1
  • Thank you for the detailed info,it helped me to check the solr query Commented Mar 11, 2022 at 10:38
0

I have updated the detailed answer here, please find it here

Sxa custom search token query Wrong date format

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.