From: Eduard D. <ed...@fr...> - 2021-01-13 08:10:42
|
This might work yes, the analyzers I need are available. I don't directly see the need for a condition, but I'll investigate this field possibility. Regards, Eduard -----Original Message-----From: Joe Wicentowski <jo...@gm...>To: Eduard Drenth <ed...@fr...>Cc: exi...@li... <exi...@li...>Subj ect: Re: [Exist-open] diacritic switchDate: Tue, 12 Jan 2021 09:10:14 -0500 Hi Eduard, eXist 5's fields feature makes it possible to create different indexes on the same content and query a specific one. See the documentation: https://exist-db.org/exist/apps/doc/lucene#facets-and-fields See especially the section, "Conditions." Building on this, you'll just need to find analyzers or expressions that are case and diacritics (in- )sensitive and hook these into your field definition. Joe On Tue, Jan 12, 2021 at 4:29 AM Eduard Drenth < ed...@fr...> wrote: > 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 > > > > > _______________________________________________ > > Exist-open mailing list > > Exi...@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 |