public DocumentIterator visitPost( final Consecutive node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return ConsecutiveDocumentIterator.getInstance( subNode, node.gap ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Consecutive node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return ConsecutiveDocumentIterator.getInstance( subNode, node.gap ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Consecutive node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return ConsecutiveDocumentIterator.getInstance( subNode, node.gap ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Not node, final DocumentIterator subNode ) throws QueryBuilderVisitorException { try { return NotDocumentIterator.getInstance( subNode, numberOfDocuments ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Not node, final DocumentIterator subNode ) throws QueryBuilderVisitorException { try { return NotDocumentIterator.getInstance( subNode, numberOfDocuments ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Not node, final DocumentIterator subNode ) throws QueryBuilderVisitorException { try { return NotDocumentIterator.getInstance( subNode, numberOfDocuments ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Not node, final DocumentIterator subNode ) throws QueryBuilderVisitorException { try { return NotDocumentIterator.getInstance( subNode, numberOfDocuments ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Consecutive node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return ConsecutiveDocumentIterator.getInstance( subNode, node.gap ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final MultiTerm node, final DocumentIterator subNode[] ) throws QueryBuilderVisitorException { final IndexIterator[] indexIterator = new IndexIterator[ subNode.length ]; System.arraycopy( subNode, 0, indexIterator, 0, indexIterator.length ); IndexIterator result; result = MultiTermIndexIterator.getInstance( curr.top(), indexIterator ).weight( weights.popDouble() ); result.term( node.toString() ); return result; }
public DocumentIterator visitPost( final OrderedAnd node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrderedAndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final OrderedAnd node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrderedAndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Or node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Or node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final And node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return AndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final Or node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final OrderedAnd node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrderedAndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final And node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return AndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final OrderedAnd node, final DocumentIterator[] subNode ) throws QueryBuilderVisitorException { try { return OrderedAndDocumentIterator.getInstance( curr.top(), subNode ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } }
public DocumentIterator visitPost( final MultiTerm node, final DocumentIterator subNode[] ) throws QueryBuilderVisitorException { final IndexIterator[] indexIterator = new IndexIterator[ subNode.length ]; System.arraycopy( subNode, 0, indexIterator, 0, indexIterator.length ); IndexIterator result; try { result = MultiTermIndexIterator.getInstance( curr.top(), indexIterator ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } result.term( node.toString() ); return result; }
public DocumentIterator visitPost( final MultiTerm node, final DocumentIterator subNode[] ) throws QueryBuilderVisitorException { final IndexIterator[] indexIterator = new IndexIterator[ subNode.length ]; System.arraycopy( subNode, 0, indexIterator, 0, indexIterator.length ); IndexIterator result; try { result = MultiTermIndexIterator.getInstance( curr.top(), indexIterator ).weight( weights.popDouble() ); } catch ( IOException e ) { throw new QueryBuilderVisitorException( e ); } result.term( node.toString() ); return result; }