Terms query does not do analysis chain, but expect tokenized values. Because it matches what is returned by faceting.
So I would check whether that field is string or text and difference in processing. Enabling debug will also show difference in final expanded form. Regards, Alex P. S. It is better to start new question threads for new questions. More people will pay attention. On Thu., Feb. 18, 2021, 1:31 a.m. elivis, <eli...@basistech.com> wrote: > Alexandre Rafalovitch wrote > > What about copyField with the target being index only (docValue only?) > and > > no lowercase on the target field type? > > > > Solr is not a database, you are optimising for search. So duplicate, > > multi-process, denormalise, create custom field types, etc. > > > > Regards, > > Alex > > Thank you! > > One more question - when we index data, we have some other fields that we > are populating. Our data comes from different inputs, so one of those > fields > is a data source ID that the text came from. Wen we do search, we are able > to get search results specific to only that data source by adding filter > query (e.g. fq=image_id:1). However, that doesn't seem to work when doing a > terms query - I always get the terms from the entire index. Is there a way > to filter the terms? > > Thank you again. > > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html >