0
웹 페이지를 저장하기 위해 pyravendb + ravendb를 사용하고 있습니다.PyravenDB 잘못된 쿼리 구문 분석
http://www.somedomain.com/nicepage.html?stuff=param&id=021345
pyravendb 분실 및 (분명히 나던 존재)이 021,345 인덱스를 찾습니다 보인다 : 여기에 주요 문제는 URL이 양식에있을 때이다.)의 URL
http://www.example.com/ebx/LinkResolverServlet?classofcontent=Standard&id=63935
쿼리 session.query ( where_equals ("URL", URL) ALL 기타 사항 서보 -OFF ("ID", "HTML", "
예는 다음과 같은 것입니다. 날짜 ","메타 데이터 ")
인덱스 63935이 존재하지 않기 때문에 쿼리 parame의 URL 매개 변수를 착각 것으로 보인다 정상이 스택
File "/home/myusername/***********/somepythonfile.py", line 60, in getDocumentbyURL
query_result = list(session.query().where_equals("url",url).select("Id","html","date","metadata"))
File "/usr/local/lib/python3.5/dist-packages/pyravendb/store/session_query.py", line 92, in __iter__
return self._execute_query().__iter__()
File "/usr/local/lib/python3.5/dist-packages/pyravendb/store/session_query.py", line 332, in _execute_query
includes=self.includes)
File "/usr/local/lib/python3.5/dist-packages/pyravendb/d_commands/database_commands.py", line 286, in query
raise exceptions.ErrorResponseException(response["Error"][:100])
pyravendb.custom_exceptions.exceptions.ErrorResponseException: Could not find index named: 63935
Could not find index named: 63935
을 제공합니다 ter.
문제를 해결하는 데 도움이 되셨습니까? 감사합니다.
최신 빌드를 사용해 볼 수 있습니까? 아마도 관련 검색어 인 이스케이프 문제가있었습니다. –
감사! 내일 아침에 시도해보고 업데이트하겠습니다. – Neil
이 문제는 최종 업데이트에서 수정되었습니다 –