Hi, 

> From: Anton Potehin [mailto:[EMAIL PROTECTED] 
> 1) create Document object 
> 
> 2) add 5 fields into Document (id, name, field1, field2, 
> field3). All fields are stored, indexed and tokenized 
> 
> 3) check if the document with current id and name was added before 

Just perform the search with given id and name values. 
String query = "+id:(" + doc.get("id") + ") +name:(" + doc.get("name") +
")";
 
Pasha Bizhan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to