Small Correction in the mail above: attachmentType is managed-schema is:
<field name="attachmentType" type="text_general" multiValued="false" indexed
="true" stored="true"/>



---------- Forwarded message ---------
From: Rushikesh Garadade <rushikeshgarad...@gmail.com>
Date: Thu, Jul 5, 2018 at 7:43 PM
Subject: exact Match and Contains
To: <solr-user@lucene.apache.org>


Hi,
I have field attachmentType in my collection whose schema is as follows:
<field name="attachmentName" type="text_general" multiValued="false" indexed
="true" stored="true"/>

when I search for attachmentType:application/pdf i.e. /select
*?q=attachmentType:application/pdf *
I get results
[image: image.png]


When I search for attachmentType:*application/pdf* i.e. /select?
*q=attachmentType:*application/pdf**

I get 0 results
[image: image.png]

I am not getting what I am missing.
What I think is result of *query* is subset of result of **query**

Please let me know what I am missing, Do let me know if you need any other
details

Thanks,
Rushikesh Garadade

Reply via email to