0

There Are any way to search with a certain Field as an example: http://blog.trivident.com/releasing-the-tiger-how-to-profit-from-solr-in-your-tridion-cm/

(RepositoryId:tcm:0-3-1 OR RepositoryId:tcm:0-5-1 OR RepositoryId:tcm:0-7-1 OR RepositoryId:tcm:0-109-1 OR RepositoryId:tcm:0-148-1) AND OrganizationalItemAncestorIds:tcm:-4-2 AND (SchemaId:tcm:-2525-8 AND CatchAllXml:"headline Generation headline"~1000000)

But in our case we try to search by a Date type in Tridion ex:

CatchAllXml:"headline 2019-02-07T00:00:00.184 headline"

We have tried too as Tridion view:

CatchAllXml:"headline 2/7/2019 12:00 AM headline"

But both are not working right in solr:

Do you know how we could put this date in order to solr find a component that inside of this field have this Date ?

Thanks.

  • Welcome to Tridion stack exchange. Can you please provide Tridion version you are currently using. – Anand NS Jul 29 at 11:06
  • SDL Web Content Manger - build 8.5.0 version – Sergi TG Jul 29 at 11:10
  • Can you check this link see if this helps - tridion.stackexchange.com/questions/612/… – Anand NS Jul 29 at 11:16
  • Thanks for your help ! with this issue I ve could solve our problem. – Sergi TG Jul 29 at 11:42
  • happy it helped – Anand NS Jul 29 at 11:51
2

please refer to the Link

for the solution to query based on the field.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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