Re: CQL and Swish-e

2005-12-04 Thread Walter Lewis
Eric Lease Morgan wrote: [snip] I'm still not an expert in this regard, but I do know that things like the query "dogs cats" (without the quote marks) is an invalid CQL query because I think CQL is expecting phrase searches or truples (dogs or cats). In the query "dogs cats" (without the qu

Re: CQL and Swish-e

2005-12-04 Thread Eric Lease Morgan
Fails: CQL: dc:title any "dogs cats" Succeeds: Swish: dc:title = (dogs or cats) Could we change the toSwish() method in TermNode.pm (around line 105) to [if $relation is "any"] $term =~ s/\s/ and /g; $swish = join( ' ', $qualifier, '=', '(', $term, ')' ); similarly Fails: CQL: dc:title al