lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rushikesh Garadade <rushikeshgarad...@gmail.com>
Subject Fwd: exact Match and Contains
Date Thu, 05 Jul 2018 14:18:58 GMT
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 <rushikeshgaradade@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

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message