|
@@ -663,7 +663,7 @@ public class Neo4jAPI {
|
|
|
session = driver.session(AccessMode.WRITE);
|
|
|
logger.info("session 为: " + session);
|
|
|
//第一步查询是否有组合的词
|
|
|
- query = propertiesUtil.getProperty("searchCollection1").replace("fildList", fildList.toString());
|
|
|
+ query = propertiesUtil.getProperty("searchCollection").replace("fildList", fildList.toString());
|
|
|
result = session.run(query);
|
|
|
while (result.hasNext()) {
|
|
|
Record next = result.next();
|
|
@@ -694,7 +694,7 @@ public class Neo4jAPI {
|
|
|
newList.addAll(fildList);
|
|
|
int i = 0;
|
|
|
while (newList.size() > 0) {
|
|
|
- query = propertiesUtil.getProperty("searchCondition1").replace("newList", newList.toString()).replace("fildList", fildList.toString());
|
|
|
+ query = propertiesUtil.getProperty("searchCondition").replace("newList", newList.toString()).replace("fildList", fildList.toString());
|
|
|
result = session.run(query);
|
|
|
newList.clear();
|
|
|
while (result.hasNext()) {
|