You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
When running a query with the OR operator, the search results return all documents instead of the two expected.
Steps to Reproduce
Input documents:
json={"index": "index-1", "documents": [
{
"id": "a",
"text1": "hello world",
"text2": "testing search api and world"
},
{
"id": "b",
"anotherText": "There is also a corresponding asynchronous method, "
},
{
"id": "c",
"text3": "This string also contains the word world and api"
},
{
"id": "firstdate",
"date_entered": "2018-12-12",
"text4": "This is a test of the national broadcasting system"
},
{
"id": "seconddate",
"date_entered": "2019-04-04",
"text5": "Who are the britons?"
}
]}
Summary
When running a query with the OR operator, the search results return all documents instead of the two expected.
Steps to Reproduce
Input documents:
Unittest:
Expected Results
2 documents: id: a, id: seconddate
Actual Results
all 5 documents.
Debug Logging from /var/log/appscale/search.log
Pretty printed:
The query to solr seems a bit off:
The text was updated successfully, but these errors were encountered: