a/src/query/recollq.cpp b/src/query/recollq.cpp
...
...
315
    sd = new Rcl::SearchData(Rcl::SCLT_OR, stemlang);
315
    sd = new Rcl::SearchData(Rcl::SCLT_OR, stemlang);
316
    Rcl::SearchDataClause *clp = 0;
316
    Rcl::SearchDataClause *clp = 0;
317
    if (op_flags & OPT_f) {
317
    if (op_flags & OPT_f) {
318
        clp = new Rcl::SearchDataClauseFilename(qs);
318
        clp = new Rcl::SearchDataClauseFilename(qs);
319
    } else {
319
    } else {
320
      // If there is no white space inside the query, then the user
321
      // certainly means it as a phrase.
322
      bool isreallyaphrase = false;
323
      if (!TextSplit::hasVisibleWhite(qs))
324
      isreallyaphrase = true;
325
      clp = isreallyaphrase ? 
326
      new Rcl::SearchDataClauseDist(Rcl::SCLT_PHRASE, qs, 0) :
327
      new Rcl::SearchDataClauseSimple((op_flags & OPT_o)?
320
        clp = new Rcl::SearchDataClauseSimple((op_flags & OPT_o)?
328
                      Rcl::SCLT_OR : Rcl::SCLT_AND, 
321
                                                  Rcl::SCLT_OR : Rcl::SCLT_AND, 
329
                      qs);
322
                                                  qs);
330
    }
323
    }
331
    if (sd)
324
    if (sd)
332
        sd->addClause(clp);
325
        sd->addClause(clp);
333
    } else {
326
    } else {
334
    sd = wasaStringToRcl(rclconfig, stemlang, qs, reason);
327
    sd = wasaStringToRcl(rclconfig, stemlang, qs, reason);