It sounds like this "Record type" should be filter out from search
database, or you can treat them as one token.
1st choice you can try write your own TokenFilter to peek the current word
and next word, then remove this "Record type".
2nd choice you can group this ³Record type² a single token.
T
Unfortunately, that removes all records since all records have the term "Record
type"
-Original Message-
From: Xiaolong Zheng [mailto:xiaolong.zh...@mathworks.com]
Sent: Thursday, July 23, 2015 11:45 AM
To: 'java-user@lucene.apache.org'
Subject: [EXTERNAL] Re: ignore a match in a query