Skip to content

Commit

Permalink
fix formatted/not formatted query flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kreeben committed Nov 10, 2019
1 parent 9ad5eba commit a4545a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Sir.DbUtil/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"Sir.DbUtil": {
"commandName": "Project",
"commandLineArgs": "submit C:\\\\Users\\\\marlag\\\\Downloads\\\\svwiki-20190624-cirrussearch-content.json\\\\svwiki-20190624-cirrussearch-content.json http://localhost:54865/write?collection=www 10000000 100000"
"commandLineArgs": "write C:\\\\Users\\\\marlag\\\\Downloads\\\\svwiki-20190624-cirrussearch-content.json.gz c:\\data\\resin www 0 10000 1000"
}
}
}
2 changes: 1 addition & 1 deletion src/Sir.Search/Parsers/HttpQueryParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public HttpQueryParser(SessionFactory sessionFactory, IStringModel model)

public Query Parse(HttpRequest request)
{
var isFormatted = request.Body != null && request.Body.Length > 0;
var isFormatted = request.Method != "GET";

if (isFormatted)
{
Expand Down

0 comments on commit a4545a3

Please sign in to comment.