mirror of https://github.com/apache/lucene.git
expand svn:keywords for text file, change registry to use svn keywords
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@382610 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1194714499
commit
f606d78b19
|
@ -2,7 +2,7 @@
|
|||
<!-- The Solr schema file. This file should be named "schema.xml" and
|
||||
should be located where the classloader for the Solr webapp can find it.
|
||||
|
||||
$Id: schema.xml,v 1.1 2005/06/09 03:01:13 yonik Exp $
|
||||
$Id$
|
||||
$Source: /cvs/main/searching/solr-configs/test/WEB-INF/classes/schema.xml,v $
|
||||
$Name: $
|
||||
-->
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: BaseTokenFilterFactory.java,v 1.5 2005/12/06 04:16:16 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class BaseTokenFilterFactory implements TokenFilterFactory {
|
||||
protected Map<String,String> args;
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: BaseTokenizerFactory.java,v 1.3 2005/09/20 04:57:50 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class BaseTokenizerFactory implements TokenizerFactory {
|
||||
protected Map<String,String> args;
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.HashMap;
|
|||
*
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: HTMLStripReader.java,v 1.2 2005/08/30 15:31:42 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class HTMLStripReader extends Reader {
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: LengthFilter.java,v 1.2 2005/04/24 02:53:35 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public final class LengthFilter extends TokenFilter {
|
||||
final int min,max;
|
||||
|
|
|
@ -34,7 +34,7 @@ import java.util.LinkedList;
|
|||
* Generated synonyms will start at the same position as the first matched source token.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: SynonymFilter.java,v 1.3 2005/12/13 05:14:52 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class SynonymFilter extends TokenFilter {
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.*;
|
|||
/** Mapping rules for use with {@link org.apache.solr.analysis.SynonymFilter}
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: SynonymMap.java,v 1.2 2005/12/13 05:15:08 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class SynonymMap {
|
||||
Map submap; // recursive: Map<String, SynonymMap>
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.util.Map;
|
|||
* Factory to create a token filter that transforms one TokenStream to another.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: TokenFilterFactory.java,v 1.3 2005/09/20 04:58:28 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public interface TokenFilterFactory {
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.io.Reader;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: TokenizerChain.java,v 1.3 2005/08/26 05:21:08 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
//
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.lucene.analysis.*;
|
|||
* that breaks up a stream of characters into tokens.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: TokenizerFactory.java,v 1.10 2005/12/13 05:16:03 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface TokenizerFactory {
|
||||
public void init(Map<String,String> args);
|
||||
|
|
|
@ -58,7 +58,7 @@ import java.util.List;
|
|||
* (such as WhitespaceTokenizer).
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: WordDelimiterFilter.java,v 1.6 2005/09/20 03:54:05 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
final class WordDelimiterFilter extends TokenFilter {
|
||||
private final byte[] charTypeTable;
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.InputStream;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrConfig.java,v 1.3 2005/12/02 04:31:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class SolrConfig {
|
||||
public static Config config;
|
||||
|
|
|
@ -52,11 +52,11 @@ import java.util.logging.Logger;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrCore.java,v 1.47 2006/01/10 05:04:44 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public final class SolrCore {
|
||||
public static final String cvsId="$Id: SolrCore.java,v 1.47 2006/01/10 05:04:44 yonik Exp $";
|
||||
public static final String cvsId="$Id$";
|
||||
public static final String cvsSource="$Source: /cvs/main/searching/solr/solarcore/src/solr/SolrCore.java,v $";
|
||||
public static final String cvsTag="$Name: $";
|
||||
public static final String version="1.0";
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.logging.Logger;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrEventListener.java,v 1.4 2005/05/25 04:26:47 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface SolrEventListener {
|
||||
static final Logger log = Logger.getLogger(SolrCore.class.getName());
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.io.PrintWriter;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrException.java,v 1.6 2005/06/14 20:42:26 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.apache.solr.util.*;
|
|||
|
||||
/**
|
||||
* @author ronp
|
||||
* @version $Id: SolrInfo.java,v 1.3 2005/05/02 19:04:59 ronp Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// MBean pattern for holding various ui friendly strings and URLs
|
||||
|
@ -36,7 +36,7 @@ import org.apache.solr.util.*;
|
|||
// docs - URL list: TWIKI, Faq, Design doc, something! :)
|
||||
|
||||
abstract class SolrInfo implements SolrInfoMBean {
|
||||
public static String _cvsId="$Id: SolrInfo.java,v 1.3 2005/05/02 19:04:59 ronp Exp $";
|
||||
public static String _cvsId="$Id$";
|
||||
public static String _cvsSource="$Source: /cvs/main/searching/solr/solarcore/src/solr/SolrInfo.java,v $";
|
||||
public static String _cvsName="$Name: $";
|
||||
|
||||
|
@ -45,9 +45,9 @@ abstract class SolrInfo implements SolrInfoMBean {
|
|||
public String getVersion() { return this.version; }
|
||||
public String getDescription() { return this.description; }
|
||||
public Category getCategory() { return SolrInfoMBean.Category.QUERYHANDLER; }
|
||||
public String getCvsId() { return this.cvsId; }
|
||||
public String getSourceId() { return this.cvsId; }
|
||||
public String getCvsName() { return this.cvsName; }
|
||||
public String getCvsSource() { return this.cvsSource; }
|
||||
public String getSource() { return this.cvsSource; }
|
||||
public URL[] getDocs() { return this.docs; }
|
||||
public NamedList getStatistics() { return null; }
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.apache.solr.util.*;
|
|||
|
||||
/**
|
||||
* @author ronp
|
||||
* @version $Id: SolrInfoMBean.java,v 1.3 2005/05/04 19:15:23 ronp Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// MBean interface for getting various ui friendly strings and URLs
|
||||
|
@ -30,9 +30,8 @@ import org.apache.solr.util.*;
|
|||
// name - simple common usage name, e.g. BasicQueryHandler
|
||||
// version - simple common usage version, e.g. 2.0
|
||||
// description - simple one or two line description
|
||||
// cvsId - yes, really the CVS Id (type 'man co')
|
||||
// cvsName - yes, really the CVS Name (type 'man co')
|
||||
// cvsSource - yes, really the CVS Source (type 'man co')
|
||||
// SourceId - CVS Id, SVN Id, etc
|
||||
// Source - CVS Source, SVN Source, etc
|
||||
// docs - URL list: TWIKI, Faq, Design doc, something! :)
|
||||
|
||||
public interface SolrInfoMBean {
|
||||
|
@ -43,9 +42,8 @@ public interface SolrInfoMBean {
|
|||
public String getVersion();
|
||||
public String getDescription();
|
||||
public Category getCategory();
|
||||
public String getCvsId();
|
||||
public String getCvsName();
|
||||
public String getCvsSource();
|
||||
public String getSourceId();
|
||||
public String getSource();
|
||||
public URL[] getDocs();
|
||||
public NamedList getStatistics();
|
||||
|
||||
|
|
|
@ -22,13 +22,13 @@ import java.util.*;
|
|||
|
||||
/**
|
||||
* @author ronp
|
||||
* @version $Id: SolrInfoRegistry.java,v 1.5 2005/05/14 03:34:39 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// A Registry to hold a collection of SolrInfo objects
|
||||
|
||||
public class SolrInfoRegistry {
|
||||
public static final String cvsId="$Id: SolrInfoRegistry.java,v 1.5 2005/05/14 03:34:39 yonik Exp $";
|
||||
public static final String cvsId="$Id$";
|
||||
public static final String cvsSource="$Source: /cvs/main/searching/solr/solarcore/src/solr/SolrInfoRegistry.java,v $";
|
||||
public static final String cvsName="$Name: $";
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: LocalSolrQueryRequest.java,v 1.6 2005/06/02 22:03:38 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class LocalSolrQueryRequest extends SolrQueryRequestBase {
|
||||
private final NamedList args;
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: QueryResponseWriter.java,v 1.2 2005/04/24 02:53:35 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface QueryResponseWriter {
|
||||
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException;
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.apache.solr.core.SolrCore;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrQueryRequest.java,v 1.3 2005/05/10 19:40:12 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface SolrQueryRequest {
|
||||
public String getParam(String name);
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.apache.solr.core.SolrException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SolrQueryRequestBase.java,v 1.6 2005/06/12 02:36:09 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class SolrQueryRequestBase implements SolrQueryRequest {
|
||||
// some standard query argument names
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.util.*;
|
|||
* <code>SolrQueryResponse</code> is used by a query handler to return
|
||||
* the response to a query.
|
||||
* @author yonik
|
||||
* @version $Id: SolrQueryResponse.java,v 1.5 2005/08/10 04:27:04 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ import org.apache.solr.core.SolrInfoMBean;
|
|||
* via the default constructor and is reused for all relevant queries.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: SolrRequestHandler.java,v 1.7 2005/12/02 04:31:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface SolrRequestHandler extends SolrInfoMBean {
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.apache.solr.core.SolrException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: StandardRequestHandler.java,v 1.17 2005/12/02 04:31:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class StandardRequestHandler implements SolrRequestHandler, SolrInfoMBean {
|
||||
|
||||
|
@ -199,16 +199,12 @@ public class StandardRequestHandler implements SolrRequestHandler, SolrInfoMBean
|
|||
return Category.QUERYHANDLER;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: StandardRequestHandler.java,v 1.17 2005/12/02 04:31:06 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/StandardRequestHandler.java,v $";
|
||||
public String getSource() {
|
||||
return "$URL$";
|
||||
}
|
||||
|
||||
public URL[] getDocs() {
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: XMLResponseWriter.java,v 1.6 2005/04/24 02:53:35 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class XMLResponseWriter implements QueryResponseWriter {
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.apache.lucene.document.Field;
|
|||
import org.apache.lucene.document.Document;
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: XMLWriter.java,v 1.16 2005/12/02 04:31:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
final public class XMLWriter {
|
||||
//
|
||||
|
|
|
@ -38,7 +38,7 @@ import java.io.IOException;
|
|||
* Base class for all field types used by an index schema.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: FieldType.java,v 1.14 2006/01/06 04:23:15 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class FieldType extends FieldProperties {
|
||||
public static final Logger log = Logger.getLogger(FieldType.class.getName());
|
||||
|
|
|
@ -46,7 +46,7 @@ import java.util.logging.Logger;
|
|||
* and the types of those fields.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: IndexSchema.java,v 1.21 2005/12/20 16:05:46 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public final class IndexSchema {
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: SchemaField.java,v 1.8 2005/11/28 06:03:19 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.BitSet;
|
|||
* using a BitSet. A set bit represents inclusion in the set for that document.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: BitDocSet.java,v 1.4 2005/10/27 04:14:49 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public class BitDocSet extends DocSetBase {
|
||||
|
|
|
@ -34,7 +34,7 @@ import javax.xml.xpath.XPathConstants;
|
|||
* factory to create caches.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: CacheConfig.java,v 1.2 2005/09/07 20:37:57 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
class CacheConfig {
|
||||
private String nodeName;
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.io.IOException;
|
|||
* used for all cache autowarmings).
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: CacheRegenerator.java,v 1.2 2005/09/07 20:37:57 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface CacheRegenerator {
|
||||
/**
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: ConstantScorePrefixQuery.java,v 1.2 2005/09/15 14:32:41 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class ConstantScorePrefixQuery extends Query {
|
||||
private final Term prefix;
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.solr.search;
|
|||
* document ids starting at <code>offset()</code>.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DocList.java,v 1.6 2005/11/11 21:57:56 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public interface DocList extends DocSet {
|
||||
|
|
|
@ -28,7 +28,7 @@ package org.apache.solr.search;
|
|||
* <p>
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DocListAndSet.java,v 1.3 2005/04/08 05:38:05 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public final class DocListAndSet {
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.util.BitSet;
|
|||
* WARNING: Any DocSet returned from SolrIndexSearcher should <b>not</b> be modified as it may have been retrieved from
|
||||
* a cache and could be shared.
|
||||
* @author yonik
|
||||
* @version $Id: DocSet.java,v 1.6 2005/05/13 21:20:15 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public interface DocSet /* extends Collection<Integer> */ {
|
||||
|
|
|
@ -20,7 +20,7 @@ package org.apache.solr.search;
|
|||
* <code>DocSlice</code> implements DocList as an array of docids and optional scores.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DocSlice.java,v 1.9 2005/11/11 21:57:56 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public class DocSlice extends DocSetBase implements DocList {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.apache.solr.core.SolrConfig;
|
|||
* set intersections.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: HashDocSet.java,v 1.7 2005/11/22 17:16:19 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
public final class HashDocSet extends DocSetBase {
|
||||
|
|
|
@ -29,7 +29,7 @@ import java.io.IOException;
|
|||
*
|
||||
* @author Chris Hostetter
|
||||
* @author yonik
|
||||
* @version $Id: MissingStringLastComparatorSource.java,v 1.1 2005/06/02 04:43:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: PrefixFilter.java,v 1.1 2005/06/10 05:47:32 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class PrefixFilter extends Filter {
|
||||
protected final Term prefix;
|
||||
|
|
|
@ -34,7 +34,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: QueryParsing.java,v 1.10 2005/12/20 21:34:44 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class QueryParsing {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.io.IOException;
|
|||
/**
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: SolrCache.java,v 1.6 2005/06/21 05:26:43 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface SolrCache extends SolrInfoMBean {
|
||||
public final static Logger log = Logger.getLogger(SolrCache.class.getName());
|
||||
|
|
|
@ -42,7 +42,7 @@ import java.util.logging.Logger;
|
|||
* over the lucene IndexSearcher.
|
||||
|
||||
* @author yonik
|
||||
* @version $Id: SolrIndexSearcher.java,v 1.49 2005/12/20 16:05:46 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
@ -1062,16 +1062,12 @@ public class SolrIndexSearcher extends Searcher implements SolrInfoMBean {
|
|||
return Category.CORE;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: SolrIndexSearcher.java,v 1.49 2005/12/20 16:05:46 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/search/SolrIndexSearcher.java,v $";
|
||||
public String getSource() {
|
||||
return "$URL$";
|
||||
}
|
||||
|
||||
public URL[] getDocs() {
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.apache.lucene.search.*;
|
|||
* Extra lucene sorting utilities & convenience methods
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: Sorting.java,v 1.1 2005/06/02 04:43:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.Explanation;
|
|||
* Often used by {@link FunctionFactory} implementations.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DocValues.java,v 1.1 2005/11/22 05:23:20 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// DocValues is distinct from ValueSource because
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.lucene.search.FieldCache;
|
|||
* a single field from the {@link org.apache.lucene.search.FieldCache}.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: FieldCacheSource.java,v 1.1 2005/11/22 05:23:20 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class FieldCacheSource extends ValueSource {
|
||||
protected String field;
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
|||
* and makes those values available as other numeric types, casting as needed.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: FloatFieldSource.java,v 1.2 2005/11/22 05:23:20 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class FloatFieldSource extends FieldCacheSource {
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.io.IOException;
|
|||
* often some function of the value of a field.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: FunctionQuery.java,v 1.4 2005/11/23 04:22:20 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class FunctionQuery extends Query {
|
||||
ValueSource func;
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* using <code>getInts()</code>
|
||||
* and makes those values available as other numeric types, casting as needed. *
|
||||
* @author yonik
|
||||
* @version $Id: IntFieldSource.java,v 1.2 2005/11/22 05:23:20 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class IntFieldSource extends FieldCacheSource {
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Normally Used as an argument to a {@link FunctionQuery}
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: LinearFloatFunction.java,v 1.2 2005/11/22 05:23:21 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class LinearFloatFunction extends ValueSource {
|
||||
protected final ValueSource source;
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
|||
* Normally Used as an argument to a {@link FunctionQuery}
|
||||
*
|
||||
* @author hossman
|
||||
* @version $Id: $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class MaxFloatFunction extends ValueSource {
|
||||
protected final ValueSource source;
|
||||
|
|
|
@ -36,7 +36,7 @@ import java.io.IOException;
|
|||
* WARNING: ord() depends on the position in an index and can thus change when other documents are inserted or deleted,
|
||||
* or if a MultiSearcher is used.
|
||||
* @author yonik
|
||||
* @version $Id: OrdFieldSource.java,v 1.2 2005/11/22 05:23:21 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class OrdFieldSource extends ValueSource {
|
||||
|
|
|
@ -34,7 +34,7 @@ import java.io.IOException;
|
|||
*
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: ReciprocalFloatFunction.java,v 1.2 2005/11/22 05:23:21 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class ReciprocalFloatFunction extends ValueSource {
|
||||
protected final ValueSource source;
|
||||
|
|
|
@ -37,7 +37,7 @@ import java.io.IOException;
|
|||
* WARNING: ord() depends on the position in an index and can thus change when other documents are inserted or deleted,
|
||||
* or if a MultiSearcher is used.
|
||||
* @author yonik
|
||||
* @version $Id: ReverseOrdFieldSource.java,v 1.2 2005/11/22 05:23:21 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class ReverseOrdFieldSource extends ValueSource {
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.io.Serializable;
|
|||
* Often used when creating a {@link FunctionQuery}.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: ValueSource.java,v 1.2 2005/11/30 19:31:01 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public abstract class ValueSource implements Serializable {
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ import org.apache.solr.request.SolrQueryRequest;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: OldRequestHandler.java,v 1.7 2005/12/02 04:31:05 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
@ -122,15 +122,15 @@ public class OldRequestHandler implements SolrRequestHandler {
|
|||
return Category.QUERYHANDLER;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: OldRequestHandler.java,v 1.7 2005/12/02 04:31:05 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
public String getSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/tst/OldRequestHandler.java,v $";
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.apache.solr.request.SolrQueryResponse;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: TestRequestHandler.java,v 1.19 2005/12/02 04:31:05 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public class TestRequestHandler implements SolrRequestHandler {
|
||||
|
@ -271,15 +271,15 @@ public class TestRequestHandler implements SolrRequestHandler {
|
|||
return Category.QUERYHANDLER;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: TestRequestHandler.java,v 1.19 2005/12/02 04:31:05 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
public String getSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/tst/TestRequestHandler.java,v $";
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ import org.apache.solr.core.SolrException;
|
|||
* For this reason, not all combinations to/from pending and committed are supported.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DirectUpdateHandler.java,v 1.13 2005/06/17 20:44:42 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
@ -354,15 +354,15 @@ public class DirectUpdateHandler extends UpdateHandler {
|
|||
return Category.CORE;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: DirectUpdateHandler.java,v 1.13 2005/06/17 20:44:42 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
public String getSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/DirectUpdateHandler.java,v $";
|
||||
}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ import org.apache.solr.core.SolrException;
|
|||
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: DirectUpdateHandler2.java,v 1.12 2005/06/17 20:44:42 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
@ -527,16 +527,12 @@ public class DirectUpdateHandler2 extends UpdateHandler {
|
|||
return Category.UPDATEHANDLER;
|
||||
}
|
||||
|
||||
public String getCvsId() {
|
||||
return "$Id: DirectUpdateHandler2.java,v 1.12 2005/06/17 20:44:42 yonik Exp $";
|
||||
public String getSourceId() {
|
||||
return "$Id$";
|
||||
}
|
||||
|
||||
public String getCvsName() {
|
||||
return "$Name: $";
|
||||
}
|
||||
|
||||
public String getCvsSource() {
|
||||
return "$Source: /cvs/main/searching/solr/solarcore/src/solr/DirectUpdateHandler2.java,v $";
|
||||
public String getSource() {
|
||||
return "$URL$";
|
||||
}
|
||||
|
||||
public URL[] getDocs() {
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: DocumentBuilder.java,v 1.7 2005/12/02 04:31:06 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import java.io.IOException;
|
|||
* An IndexWriter that is configured via Solr config mechanisms.
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: SolrIndexWriter.java,v 1.9 2006/01/09 03:51:44 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.apache.lucene.document.Document;
|
|||
/** An index update command encapsulated in an object (Command pattern)
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: UpdateCommand.java,v 1.4 2005/05/25 04:26:47 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class UpdateCommand {
|
||||
protected String commandName;
|
||||
|
|
|
@ -41,7 +41,7 @@ import javax.xml.xpath.XPathConstants;
|
|||
* (adds, deletes, commits, optimizes, etc).
|
||||
*
|
||||
* @author yonik
|
||||
* @version $Id: UpdateHandler.java,v 1.15 2005/06/21 20:24:25 yonik Exp $
|
||||
* @version $Id$
|
||||
* @since solr 0.9
|
||||
*/
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.util.ArrayList;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: DOMUtil.java,v 1.3 2005/12/01 16:50:11 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class DOMUtil {
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: RefCounted.java,v 1.2 2005/09/07 20:37:57 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
public abstract class RefCounted<Type> {
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* @author yonik
|
||||
* @version $Id: TestSynonymFilter.java,v 1.2 2005/12/12 18:07:23 yonik Exp $
|
||||
* @version $Id$
|
||||
*/
|
||||
public class TestSynonymFilter extends TestCase {
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<%@ page import="java.io.StringReader"%>
|
||||
<%@ page import="java.util.*"%>
|
||||
|
||||
<!-- $Id: analysis.jsp,v 1.2 2005/09/20 18:23:30 yonik Exp $ -->
|
||||
<!-- $Id$ -->
|
||||
<!-- $Source: /cvs/main/searching/org.apache.solrolarServer/resources/admin/analysis.jsp,v $ -->
|
||||
<!-- $Name: $ -->
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
<!-- $Id: index.jsp,v 1.26 2005/09/20 18:23:30 yonik Exp $ -->
|
||||
<!-- $Id$ -->
|
||||
<!-- $Source: /cvs/main/searching/SolrServer/resources/admin/index.jsp,v $ -->
|
||||
<!-- $Name: $ -->
|
||||
|
||||
|
|
|
@ -32,9 +32,8 @@ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
|
|||
String name = (m.getName()!=null ? m.getName() : na);
|
||||
String vers = (m.getVersion()!=null ? m.getVersion() : na);
|
||||
String desc = (m.getDescription()!=null ? m.getDescription() : na);
|
||||
String cvsId = (m.getCvsId()!=null ? m.getCvsId() : na);
|
||||
String cvsSrc = (m.getCvsSource()!=null ? m.getCvsSource() : na);
|
||||
String cvsTag = (m.getCvsName()!=null ? m.getCvsName() : na);
|
||||
String srcId = (m.getSourceId()!=null ? m.getSourceId() : na);
|
||||
String src = (m.getSource()!=null ? m.getSource() : na);
|
||||
// print
|
||||
%>
|
||||
<entry>
|
||||
|
@ -50,15 +49,13 @@ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
|
|||
<description>
|
||||
<%= desc %>
|
||||
</description>
|
||||
<cvsid>
|
||||
<%= cvsId %>
|
||||
</cvsid>
|
||||
<cvssrc>
|
||||
<%= cvsSrc %>
|
||||
</cvssrc>
|
||||
<cvstag>
|
||||
<%= cvsTag %>
|
||||
</cvstag>
|
||||
<sourceid>
|
||||
<%= srcId %>
|
||||
</sourceid>
|
||||
<source>
|
||||
<%= src %>
|
||||
</source>
|
||||
|
||||
<%
|
||||
URL[] urls = m.getDocs();
|
||||
if ((urls != null) && (urls.length != 0)) {
|
||||
|
|
Loading…
Reference in New Issue