I'm using the Core Service client in Tridion 2011SP to do a search for components with a certain schema.
I managed to filter out all components that have a certain value in a single line value field. Now I'm trying to filter out all components that have a date field set to a date before a given timestamp.
Does anyone know if this is even possible with the CM search? Because it's based on Solr, I thought I could do it with something like this:
searchQuery.BasedOnSchemas = new[] {
new BasedOnSchemaData {
Field = "PublicEmbargo",
FieldValue = "[* TO 2013-8-20T09:55:00.000Z]",
Schema = new LinkToSchemaData {
IdRef = "tcm:10-123456-8",
Title = "SomeSchemaWithDate"
}
}
};
However this doesn't seem to work and returns an error "maxClauseCount is set to 10240" from Solr.