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 break other functionality you need on that field. Then it would support searching part of the field. You should make this as a phrase search to avoid ambiguities. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 10. aug. 2010, at 12.29, Jörg Agatz wrote: > Hallo Users... > > I have a Problem, to delete some indext Item > > i Tryed it with : > > java -Ddata=args -jar > /home/service/solr/apache-solr-nightly/example/exampledocs/post.jar > "<delete><query>EMAIL_HEADER_FROM:test.de</query></delete>" > > but Nothing, > > EMAIL_HEADER_FROM is a "String" > and in the past it ever works. but now? > I cant delete it. > > i can delete some mail when i tryed to delet only one like This: > > java -Ddata=args -jar > /home/service/solr/apache-solr-nightly/example/exampledocs/post.jar > "<delete><query>4b829265.7010...@test.de.20100803133543</query></delete>"