Beispiel #1
0
 public LuceneSearch(string typeName, string indexDir, IDocumentBuilder docBuilder, IIndexPathBuilder pathBuilder, IFacetFieldNameProvider facetFieldNameProvider, LN.Util.Version version)
 {
     this.TypeName = typeName;
     this.Directory = indexDir;
     this.version = version;
     this.DocumentBuilder = docBuilder;
     this.IndexPathBuilder = pathBuilder;
     this.facetFieldNameProvider = facetFieldNameProvider;
     indexPaths = new Dictionary<string, LuceneIndexPath>();
 }
Beispiel #2
0
 public LuceneSearch(string typeName, string indexDir, IDocumentBuilder docBuilder, IIndexPathBuilder pathBuilder, IFacetFieldNameProvider facetFieldNameProvider, LN.Util.Version version)
 {
     this.TypeName               = typeName;
     this.Directory              = indexDir;
     this.version                = version;
     this.DocumentBuilder        = docBuilder;
     this.IndexPathBuilder       = pathBuilder;
     this.facetFieldNameProvider = facetFieldNameProvider;
     indexPaths = new Dictionary <string, LuceneIndexPath>();
 }