[Zope3-Users] TextIndexNG question...

2009-02-18 Thread Thierry Florac
Hi,

I'm currently using TextIndexNG (release 3.2, I think...) to index
documents in a Zope3 application.
Indexed documents are multi-linguals ; I've created one index for each
field and each language, because all fields are not indexed in the same
way (for example, I use stopwords on documents contents but not on
titles).

Everything is **nearly** fine, except for one thing : in french, I have
to index a word like (for example)  l'eau  ; the important word is
eau here so, so while searching on title I would like to get a result
while entering query eau as well as  l'eau .
Actually, none of them is working !

I tried to debug a bit, and noticed (if I'm not wrong), that :
 - it's the word  leau  which is computed for indexing
 - but the query  l'eau  is not modified while searching.

I suppose that all this is a splitter/stopwords problem, but I can't
manage to make this work correctly so any help would be greatly
appreciated.


  Thierry Florac
-- 
  Chef de projet intranet/internet
  Office National des Forêts - Département Informatique
  2, Avenue de Saint-Mandé
  75570 PARIS Cedex 12
  Mél : thierry.flo...@onf.fr
  Tél. : +33 01.40.19.59.64
  Fax. : +33 01.40.19.59.85

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] TextIndexNG question...

2009-02-18 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18.02.2009 17:14 Uhr, Thierry Florac wrote:

 I suppose that all this is a splitter/stopwords problem, but I can't
 manage to make this work correctly so any help would be greatly
 appreciated.


Right. The splitter  and query parser use different approaches for
splitting words and dealing with non-characters. This is subject
for a major cleanup with the next TXNG 3.3 version to appear
at some time in the future :-)

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmcNL8ACgkQCJIWIbr9KYy9fACfZZUoEXEAC3lYSs34a8wgAuW1
ZUIAoI9nUzHhM7CYJUnkozUsB7+7iPyD
=d+v9
-END PGP SIGNATURE-
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd.  Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users