Are you running a commit command after every delete command? I had the
same problem with updates. I wasn't committing my updates.
- Moazzam Khan
http://moazzam-khan.com
On Tue, Aug 10, 2010 at 8:52 AM, kenf_nc wrote:
>
> I'd try 2 things.
> First do a query
> q=EMAIL_HEADER_FROM:test.de
> and
I'd try 2 things.
First do a query
q=EMAIL_HEADER_FROM:test.de
and make sure some documents are found. If nothing is found, there is
nothing to delete.
Second, how are you testing to see if the document is deleted? The physical
data isn't removed from the index until you Optimize I believe. I
Hi,
Since EMAIL_HEADER_FROM is a String type, you need to specify the whole field
every time. Wildcards could also work, but you'll get a problem with leading
wildcards.
The solution would be to change the fieldType into a "text" type using e.g.
StandardTokenizerFactory - if this does not brea