Browse files

[GRAPHDB-57] added persistence option (using path) to Lucene Index Pl…

…ugin
  • Loading branch information...
1 parent 15c767f commit 9adfb0309fe9620972d319032b087747f4fa5460 @sunlounger sunlounger committed Nov 17, 2011
View
2 GraphDB/IGraphDB/IGraphDB.csproj
@@ -243,7 +243,7 @@
</ProjectReference>
<ProjectReference Include="..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\Plugins\Index\ISonesIndex\ISonesIndex.csproj">
<Project>{823E8AF4-CF92-4E74-8ABD-38693279EB1E}</Project>
View
2 GraphDB/Implementations/SonesGraphDB/SonesGraphDB.csproj
@@ -214,7 +214,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Plugins\Index\ISonesIndex\ISonesIndex.csproj">
<Project>{823E8AF4-CF92-4E74-8ABD-38693279EB1E}</Project>
View
2 GraphDS/PluginManager/GraphDSPluginManager/GraphDSPluginManager.csproj
@@ -67,7 +67,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Plugins\GraphDS\DrainPipeLog\IDrainPipe\IDrainPipe.csproj">
<Project>{F51DA5BD-5808-409E-A907-4EF93B2C5E71}</Project>
View
2 GraphDS/Server/Implementations/GraphDSServer/GraphDSServer.csproj
@@ -76,7 +76,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\..\Plugins\GraphDS\DrainPipeLog\IDrainPipe\IDrainPipe.csproj">
<Project>{F51DA5BD-5808-409E-A907-4EF93B2C5E71}</Project>
View
2 GraphQL/Implementations/SonesGraphQueryLanguage/SonesGraphQueryLanguage.csproj
@@ -342,7 +342,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Plugins\GraphQL\SonesGQL\Aggregates\ISonesGQLAggregate\ISonesGQLAggregate.csproj">
<Project>{B70DCE72-B636-442A-8825-F3BE78D86D34}</Project>
View
2 Library/Internal/Commons/Commons.csproj
@@ -89,7 +89,7 @@
</ProjectReference>
<ProjectReference Include="..\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
View
2 Plugins/GraphDS/Services/Implementations/RESTService/RESTService.csproj
@@ -107,7 +107,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\IO\IOInterface\IOInterface.csproj">
<Project>{991132D2-15E0-4BB7-8328-3A51646D4F01}</Project>
View
2 Plugins/GraphQL/SonesGQL/Functions/Implementations/GraphAlgorithms/Dijkstra/Dijkstra.csproj
@@ -84,7 +84,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\..\..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\ISonesGQLFunction\ISonesGQLFunction.csproj">
<Project>{CDAE254B-77D9-4E59-9C07-C18F0085F570}</Project>
View
2 ...ions/Implementations/GraphAlgorithms/ShortestPathAlgorithms/ShortestPathAlgorithms.csproj
@@ -87,7 +87,7 @@
</ProjectReference>
<ProjectReference Include="..\..\..\..\..\..\..\Library\Internal\VersionedPluginManager\PluginManager.csproj">
<Project>{1F652BC0-ECEE-409B-8EFB-51276C41EAD1}</Project>
- <Name>PluginManager %28Library\Internal\PluginManager%29</Name>
+ <Name>PluginManager %28Dependencies\Library\Internal\PluginManager%29</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\ISonesGQLFunction\ISonesGQLFunction.csproj">
<Project>{CDAE254B-77D9-4E59-9C07-C18F0085F570}</Project>
View
13 Plugins/Index/Implementations/SonesLuceneIndex/SonesLuceneIndex.cs
@@ -29,9 +29,16 @@ public SonesLuceneIndex()
}
- public SonesLuceneIndex(String myIndexId, IList<Int64> myPropertyIDs = null)
- {
- _LuceneIndex = new LuceneIndex(myIndexId);
+ public SonesLuceneIndex(String myIndexId, String myPersistencePath = null, IList<Int64> myPropertyIDs = null)
+ {
+ if (myPersistencePath == null)
+ {
+ _LuceneIndex = new LuceneIndex(myIndexId);
+ }
+ else
+ {
+ _LuceneIndex = new LuceneIndex(myIndexId, myPersistencePath);
+ }
}
#endregion

0 comments on commit 9adfb03

Please sign in to comment.