: Trejkaz [mailto:trej...@trypticon.org]
Sent: Thursday, July 23, 2015 11:29 PM
To: Lucene Users Mailing List
Subject: Re: ignore a match in a query
On Fri, Jul 24, 2015 at 2:53 AM, Fielder, Todd Patrick
wrote:
> Hi,
> I'm wondering if there is a way to ignore a match in a query?
On Fri, Jul 24, 2015 at 2:53 AM, Fielder, Todd Patrick
wrote:
> Hi,
> I'm wondering if there is a way to ignore a match in a query? For example, I
> have two strings
>
> 1) "Record type: record"
>
> 2) "Record type: cd"
>
> I do no
ong.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
>
>Maybe you can use the phrase search like:
>
> NOT "\"Record type\""
>
>
>On 7/23/1
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: ignor
Maybe you can use the phrase search like:
NOT "\"Record type\""
On 7/23/15, 12:53 PM, "Fielder, Todd Patrick" wrote:
>Hi,
>I'm wondering if there is a way to ignore a match in a query? For
>example, I have two strings
>
>1) "
Hi,
I'm wondering if there is a way to ignore a match in a query? For example, I
have two strings
1) "Record type: record"
2) "Record type: cd"
I do not want the text "record type" to match, so searching for the text
"record" should r