How to delete record from indexType?

Hi

I have index named master and master contain server index-type like
type1,type2,type3.I want to delete record from type1 index-type on the
basis of document id.please tell me which java API will help me to delete
record from index-type.

Thanks

USe the delete API, and provide the index name, type, and id.

On Wednesday, March 14, 2012 at 12:11 PM, sam wrote:

Hi

I have index named master and master contain server index-type like type1,type2,type3.I want to delete record from type1 index-type on the basis of document id.please tell me which java API will help me to delete record from index-type.

Thanks