コード例 #1
0
 /** @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);
 }
コード例 #2
0
 /** @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);
 }