On Wed, Nov 26, 2008 at 1:13 PM, Aijin Kim <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It seems that search by phrase doesn't work in Pootle 1.2.
> For example, if I execute search with 'pootle server', the result lists all
> strings which contains 'pootle' or 'server'.
>
> How can I get strings only contains 'pootle server'?
>
> Thanks,
> Aijin
Hi Aijin,
I guess your server is using Xapian or Lucene, right?
I've made some tests and noticed that this only happens when using an
indexing engine. But looking at the code all seems fine.
indexer.make_query is called with the second argument (require_all) as
True, which is the default, and according to the common indexer
specification:
@param require_all: boolean operator
(True -> AND (default) / False -> OR)
So it should perform AND queries but it doesn't.
Lars, is there something tied to the implementation of the indexers
that could cause this behaviour?
Julen.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle