/** @see com.thinkparity.ophelia.model.index.IndexImpl#search(java.lang.String) */
 public List<Long> search(final String expression) throws IOException {
   final List<Field> fields = new ArrayList<Field>(4);
   fields.add(IDX_INVITED_AS.toSearchField());
   fields.add(IDX_USER_NAME.toSearchField());
   fields.add(IDX_USER_ORGANIZATION.toSearchField());
   fields.add(IDX_USER_TITLE.toSearchField());
   return search(IDX_INVITATION_ID.toSearchField(), fields, expression);
 }
 /** @see com.thinkparity.ophelia.model.index.IndexImpl#index(java.lang.Object) */
 public void index(final IncomingUserInvitation o) throws IOException {
   final DocumentBuilder builder =
       new DocumentBuilder(7)
           .append(IDX_INVITATION_ID.setValue(o.getId()).toField())
           .append(IDX_USER_NAME.setValue(o.getExtendedBy().getName()).toField())
           .append(IDX_USER_ORGANIZATION.setValue(o.getExtendedBy().getOrganization()).toField())
           .append(IDX_USER_TITLE.setValue(o.getExtendedBy().getTitle()).toField());
   index(builder.toDocument());
 }
 /** @see com.thinkparity.ophelia.model.index.IndexImpl#delete(java.lang.Object) */
 public void delete(final Long id) throws IOException {
   final Field idField = IDX_INVITATION_ID.toSearchField();
   final Term term = new Term(idField.name(), id.toString());
   delete(term);
 }