: Subject: Re: Is it possible to search for the empty string?
:
: Not out of the box.
:
: Fields are parsed into tokens and queries search on tokens. An empty
: string has no tokens for that field and a missing field has no tokens
: for that field.
that's a missleading over simplificati
On 5/18/2015 7:34 PM, Walter Underwood wrote:
> Not out of the box.
>
> Fields are parsed into tokens and queries search on tokens. An empty string
> has no tokens for that field and a missing field has no tokens for that field.
>
> If you really need to do this, then you’ll need to turn the emp
Not out of the box.
Fields are parsed into tokens and queries search on tokens. An empty string has
no tokens for that field and a missing field has no tokens for that field.
If you really need to do this, then you’ll need to turn the empty string in a
special token that means “empty string”, c
Sounds interesting to test it out. I only played with 5.10 recently on
empty string search,it seems that *field:""* (double quotes) works, but
not *field:''* ( single quotes )
Best,
-lianyi
"Unity of knowing and doing"
On Mon, May 18, 2015 at 9:21 PM, Shawn Heisey wrote:
> On 5/18/2015 7:16
On 5/18/2015 7:16 PM, Lianyi Han wrote:
> Would field:"" works in your case?
>
> Best,
> On Mon, May 18, 2015 at 8:56 PM Shawn Heisey wrote:
>
>> Can I search for the empty string? This is distinct from searching for
>> documents that don't have a certain fieldat all, which I can already do
>>
Would field:"" works in your case?
Best,
On Mon, May 18, 2015 at 8:56 PM Shawn Heisey wrote:
> Can I search for the empty string? This is distinct from searching for
> documents that don't have a certain fieldat all, which I can already do
> with a clause of "*:* -field:[*TO *]"in my query.
>
>
Can I search for the empty string? This is distinct from searching for
documents that don't have a certain fieldat all, which I can already do
with a clause of "*:* -field:[*TO *]"in my query.
Thanks,
Shawn