public Query like ( int docNum ) throws IOException { if ( fieldNames == null ) { setFieldNames ( ) ; } return createQuery ( retrieveTerms ( docNum ) ) ; }
Return a query that will return docs like the passed lucene document ID .