Hi, I'm new to notmuch system, but I used the tool for quite some time which is integrated with my mutt setup. I found that the following query does not return any results notmuch search CSBS-D-20-00016 while if I do this query notmuch search CSBS-D-20-00015 I see my results. I provide debug output for both queries below. And in both cases I have emails which contains these patterns in their subject fields. The only difference I see is that the last digit is different. I can find those emails easily with find/grep/etc. tools. Could you please guide me how to resolve this? Thanks Valentin. shell> notmuch search CSBS-D-20-00016 Query string is: CSBS-D-20-00016 Exclude query is: Query((Kdeleted OR Kspam)) Final query is: Query(((Tmail AND ((csbs@1 PHRASE 4 d@2 PHRASE 4 20@3 PHRASE 4 00016@4) OR (Gcsbs@1 PHRASE 4 Gd@2 PHRASE 4 G20@3 PHRASE 4 G00016@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00016@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00016@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00016@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00016@4) OR (Pcsbs@1 PHRASE 4 Pd@2 PHRASE 4 P20@3 PHRASE 4 P00016@4) OR (XPROPERTYcsbs@1 PHRASE 4 XPROPERTYd@2 PHRASE 4 XPROPERTY20@3 PHRASE 4 XPROPERTY00016@4) OR (XFOLDER:csbs@1 PHRASE 4 XFOLDER:d@2 PHRASE 4 XFOLDER:20@3 PHRASE 4 XFOLDER:00016@4) OR (XFROMcsbs@1 PHRASE 4 XFROMd@2 PHRASE 4 XFROM20@3 PHRASE 4 XFROM00016@4) OR (XTOcsbs@1 PHRASE 4 XTOd@2 PHRASE 4 XTO20@3 PHRASE 4 XTO00016@4) OR (XATTACHMENTcsbs@1 PHRASE 4 XATTACHMENTd@2 PHRASE 4 XATTACHMENT20@3 PHRASE 4 XATTACHMENT00016@4) OR (XMIMETYPEcsbs@1 PHRASE 4 XMIMETYPEd@2 PHRASE 4 XMIMETYPE20@3 PHRASE 4 XMIMETYPE00016@4) OR (XSUBJECTcsbs@1 PHRASE 4 XSUBJECTd@2 PHRASE 4 XSUBJECT20@3 PHRASE 4 XSUBJECT00016@4))) AND_NOT (Kdeleted OR Kspam))) shell> notmuch search CSBS-D-20-00015 Query string is: CSBS-D-20-00015 Exclude query is: Query((Kdeleted OR Kspam)) Final query is: Query(((Tmail AND ((csbs@1 PHRASE 4 d@2 PHRASE 4 20@3 PHRASE 4 00015@4) OR (Gcsbs@1 PHRASE 4 Gd@2 PHRASE 4 G20@3 PHRASE 4 G00015@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00015@4) OR (Kcsbs@1 PHRASE 4 Kd@2 PHRASE 4 K20@3 PHRASE 4 K00015@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00015@4) OR (Qcsbs@1 PHRASE 4 Qd@2 PHRASE 4 Q20@3 PHRASE 4 Q00015@4) OR (Pcsbs@1 PHRASE 4 Pd@2 PHRASE 4 P20@3 PHRASE 4 P00015@4) OR (XPROPERTYcsbs@1 PHRASE 4 XPROPERTYd@2 PHRASE 4 XPROPERTY20@3 PHRASE 4 XPROPERTY00015@4) OR (XFOLDER:csbs@1 PHRASE 4 XFOLDER:d@2 PHRASE 4 XFOLDER:20@3 PHRASE 4 XFOLDER:00015@4) OR (XFROMcsbs@1 PHRASE 4 XFROMd@2 PHRASE 4 XFROM20@3 PHRASE 4 XFROM00015@4) OR (XTOcsbs@1 PHRASE 4 XTOd@2 PHRASE 4 XTO20@3 PHRASE 4 XTO00015@4) OR (XATTACHMENTcsbs@1 PHRASE 4 XATTACHMENTd@2 PHRASE 4 XATTACHMENT20@3 PHRASE 4 XATTACHMENT00015@4) OR (XMIMETYPEcsbs@1 PHRASE 4 XMIMETYPEd@2 PHRASE 4 XMIMETYPE20@3 PHRASE 4 XMIMETYPE00015@4) OR (XSUBJECTcsbs@1 PHRASE 4 XSUBJECTd@2 PHRASE 4 XSUBJECT20@3 PHRASE 4 XSUBJECT00015@4))) AND_NOT (Kdeleted OR Kspam))) Query string is: thread:000000000002e0e2 Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0e2)) thread:000000000002e0e2 July 07 [2/2] Federica Legger, Valentin Kuznetsov; Fwd: CSBS-D-20-00015 - Ad Hoc from Author to Editorial Office (inbox replied) Query string is: thread:000000000002e0d7 Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0d7)) thread:000000000002e0d7 July 07 [2/2] Federica Legger, Valentin Kuznetsov; Fwd: Submission Confirmation (inbox replied) Query string is: thread:000000000002e0cf Exclude query is: Query() Final query is: Query((Tmail AND 0 * G000000000002e0cf)) thread:000000000002e0cf July 07 [1/1] Federica Legger; CSBS-D-20-00015 - Ad Hoc from Author to Editorial Office (inbox) _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org