alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

package org.apache.lucene.search;

import org.apache.lucene.index.IndexReader;
import java.io.IOException;
import java.io.Serializable;

/**
 * Expert: returns a comparator for sorting ScoreDocs.
 *
 * 

Created: Apr 21, 2004 3:49:28 PM * * @author Tim Jones * @version $Id: SortComparatorSource.java,v 1.2 2004/05/19 23:05:27 tjones Exp $ * @since 1.4 */ public interface SortComparatorSource extends Serializable { /** * Creates a comparator for the field in the given index. * @param reader Index to create comparator for. * @param fieldname Field to create comparator for. * @return Comparator of ScoreDoc objects. * @throws IOException If an error occurs reading the index. */ ScoreDocComparator newComparator (IndexReader reader, String fieldname) throws IOException; }

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.