Re: Using substring functionality to reach field value in solt

2022-09-15 Thread Thomas Corthals
Or if it's inconvenient to do in the code at query time: get the substring at index time, store it as a separate field, and retrieve that value at query time. Op do 15 sep. 2022 om 16:23 schreef Dave : > You would need to do that in the code end of reading the document from the > index. Search

Re: Using substring functionality to reach field value in solt

2022-09-15 Thread Dave
You would need to do that in the code end of reading the document from the index. Search indexes assume you want the complete value they don’t give substrings, > On Sep 15, 2022, at 9:59 AM, Shankar R wrote: > > Hi All, > My solr field is defined like this > > ="true" multiValued="false" /

Using substring functionality to reach field value in solt

2022-09-15 Thread Shankar R
Hi All, My solr field is defined like this It contains avalue in this format "bkgs_as_of":"2022-09-15 06:31:52 AM", When reading the value I just want to read it as 2022-09-15 and not the time value. Want to understand how can i do it in solr query. Regards Ravi