IndexSearcher function ( long arg0 ) { ensureOpen ( ) ; final SearcherTracker loc0 = searchers . get ( arg0 ) ; if ( loc0 != null && loc0 . searcher . getIndexReader ( ) . tryIncRef ( ) ) { return loc0 . searcher ; } return null ; }
retrieve a previously recorded indexsearcher , if it has not yet been closed note : this may return null when the requested searcher has already timed out . when this happens you should notify your user that their session timed out and that they 'll have to restart their search . if this returns a non-null result , you must match later call #release on this searcher , bestfrom a finally clause . concode_field_sep double maxAgeSec concode_elem_sep IndexSearcher searcher concode_elem_sep double NANOS_PER_SEC concode_elem_sep boolean closed concode_elem_sep double recordTimeSec concode_elem_sep long version concode_elem_sep ConcurrentHashMap<Long,SearcherTracker> searchers concode_field_sep void prune concode_elem_sep void ensureOpen concode_elem_sep void release concode_elem_sep long record concode_elem_sep boolean doPrune concode_elem_sep boolean doPrune concode_elem_sep int compareTo concode_elem_sep void close concode_elem_sep void close