Author: reto
Date: Fri Apr 8 14:34:22 2011
New Revision: 1090271
URL: http://svn.apache.org/viewvc?rev=1090271&view=rev
Log:
CLEREZZA-388: mayHitPerpa added to constructor, added auxiliary constructor
with current siganture
Modified:
incubator/clerezza/issues/CLEREZZA-388/rdf.cris/core/src/main/scala/org/apache/clerezza/rdf/cris/GraphIndexer.scala
Modified:
incubator/clerezza/issues/CLEREZZA-388/rdf.cris/core/src/main/scala/org/apache/clerezza/rdf/cris/GraphIndexer.scala
URL:
http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-388/rdf.cris/core/src/main/scala/org/apache/clerezza/rdf/cris/GraphIndexer.scala?rev=1090271&r1=1090270&r2=1090271&view=diff
==============================================================================
---
incubator/clerezza/issues/CLEREZZA-388/rdf.cris/core/src/main/scala/org/apache/clerezza/rdf/cris/GraphIndexer.scala
(original)
+++
incubator/clerezza/issues/CLEREZZA-388/rdf.cris/core/src/main/scala/org/apache/clerezza/rdf/cris/GraphIndexer.scala
Fri Apr 8 14:34:22 2011
@@ -57,10 +57,15 @@ import org.apache.lucene.analysis.Analyz
//while implemented in scala we don't expose any scala-library classes in the
//public interface
class GraphIndexer(definitionGraph: TripleCollection,
- baseGraph: TripleCollection,
index: Directory, createNewIndex: Boolean)
+ baseGraph: TripleCollection,
index: Directory,
+ createNewIndex: Boolean,
maxHitsPerPage: Int)
extends ResourceFinder {
- val maxHitsPerPage = 200;
+ def this(definitionGraph: TripleCollection,
+ baseGraph: TripleCollection,
index: Directory,
+ createNewIndex: Boolean) {
+ this(definitionGraph, baseGraph, index, createNewIndex, 200)
+ }
/**
* Creates an in-memory index