From: Duncan P. <du...@ex...> - 2021-01-12 14:17:56
|
Dear Eduard, wouldn’t unicode decomposition via http://www.xqueryfunctions.com/xq/fn_normalize-unicode.html <http://www.xqueryfunctions.com/xq/fn_normalize-unicode.html> be the easier option here? Is there something not working with that approach? Greetings Duncan Ceterum censeo exist-db.org esse conriganda > 1. diacritic switch (Eduard Drenth) > 2. Re: diacritic switch (Eduard Drenth) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 12 Jan 2021 07:08:50 +0000 > From: Eduard Drenth <ed...@fr...> > To: "exi...@li..." > <exi...@li...> > Subject: [Exist-open] diacritic switch > Message-ID: > <c21...@fr...> > Content-Type: text/plain; charset="utf-8" > > Dear all, > > Can I programmatically query a specific index? > > I want to offer my users a switch for case and diacritics sensitivity. > > For this I want to define two indexes using different analyzers. Then I want to query one or the other depending on the switch. > > Can this be done this way? > > Bye, Eduard > > > -- > > Eduard Drenth, Software Architekt > > ed...@fr...<mailto:ed...@fr...> > > Doelestrjitte 8 > 8911 DX Ljouwert > +31 58 234 30 47 > +31 62 094 34 28 (priv?) > > skype: eduarddrenth > https://github.com/eduarddrenth > frisian.eu > gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth > > > Op freed bin ik th?s/wurkje ik minder > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Tue, 12 Jan 2021 09:27:56 +0000 > From: Eduard Drenth <ed...@fr...> > To: "exi...@li..." > <exi...@li...> > Subject: Re: [Exist-open] diacritic switch > Message-ID: > <7a2...@fr...> > Content-Type: text/plain; charset="utf-8" > > If this isn't possible I will create a copy collection with a separate > collection.xconf > > -----Original Message----- > From: Eduard Drenth <ed...@fr...> > To: exi...@li... <exi...@li...> > Subject: [Exist-open] diacritic switch > Date: Tue, 12 Jan 2021 07:08:50 +0000 > > > > > > Dear all, > > > > > > Can I programmatically query a specific index? > > > > > > I want to offer my users a switch for case and diacritics sensitivity. > > > > > > For this I want to define two indexes using different analyzers. Then I > want to query one or the other depending on the switch. > > > > > > Can this be done this way? > > > > > > Bye, Eduard > > > > > > > -- > > Eduard Drenth, Software Architekt > > > > ed...@fr... > > > > Doelestrjitte 8 > 8911 DX Ljouwert > +31 58 234 30 47 > +31 62 094 34 28 (priv?) > > > > skype: eduarddrenth > https://github.com/eduarddrenth > frisian.eu > gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth > > > > > > > > Op freed bin ik th?s/wurkje ik minder > > > > > > > > > > > > > > _______________________________________________Exist-open mailing > lis...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > -- > Eduard Drenth, Software Architekt > > ed...@fr... > > Doelestrjitte 8 > 8911 DX Ljouwert > +31 58 234 30 47 > +31 62 094 34 28 (priv?) > > skype: eduarddrenth > https://github.com/eduarddrenth > frisian.eu > gpg: https://pgp.surfnet.nl/pks/lookup?search=eduarddrenth > > > Op freed bin ik th?s/wurkje ik minder > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 488 bytes > Desc: This is a digitally signed message part > > ------------------------------ > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > > > ------------------------------ > > End of Exist-open Digest, Vol 177, Issue 12 > ******************************************* |