lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carl...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/searchbean/src/java/org/apache/lucene/beans IndividualHit.java
Date Thu, 23 May 2002 00:45:01 GMT
carlson     02/05/22 17:45:00

  Added:       contributions/searchbean/src/java/org/apache/lucene/beans
                        IndividualHit.java
  Log:
  Initial submit of SerachBean and related classes
  
  Revision  Changes    Path
  1.1                  jakarta-lucene-sandbox/contributions/searchbean/src/java/org/apache/lucene/beans/IndividualHit.java
  
  Index: IndividualHit.java
  ===================================================================
  package org.apache.lucene.beans;
  
  import org.apache.lucene.document.Document;
  
  public class IndividualHit
  {
  	private float score;
  	private String field;
  	private int index;
  	
  	private IndividualHit()
  	{
  	}
  	
  	public IndividualHit(int inIndex, String field, float inScore)
  	{
  		this.index = inIndex;
  		this.field = field;
  		this.score = inScore;
  	}
  	
  	public int getIndex()
  	{
  		return this.index;
  	}
  	
  	public String getField()
  	{
  		return this.field;
  	}
  	
  	public float getScore()
  	{
  		return this.score;
  	}
  }
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message