Re: [sphinx-dev] names in index
Usually you don't have them sorted by first name. Am 18.05.2010 um 09:26 schrieb Viktoras: > yeah, so what's wrong with having them indexed by surname *as well as* name? > > George, Lucas > George, Bush > > and > > Bush, George > Bush, Barbara smime.p7s Description: S/MIME cryptographic signature
Re: [sphinx-dev] names in index
yeah, so what's wrong with having them indexed by surname *as well as* name? George, Lucas George, Bush and Bush, George Bush, Barbara What I wanted to achieve and achieved with your hint was to have real names in the index. And the canonical way of doing this is to have entries sorted by the surname. Pan, Peter Skywalker, Luke juh -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
Re: [sphinx-dev] names in index
Am 18.05.2010 um 09:18 schrieb Viktoras: > this creates two index entries, "Pan Peter" and "Peter Pan". usually, this is > the best way for o > index entries of two words. Ah, I understand that we productively misunderstood each other. What I wanted to achieve and achieved with your hint was to have real names in the index. And the canonical way of doing this is to have entries sorted by the surname. Pan, Peter Skywalker, Luke juh smime.p7s Description: S/MIME cryptographic signature
Re: [sphinx-dev] names in index
it doesn't do what you want because I've misspelled it, it should be with semicolon .. index:: pair: Pan; Peter this creates two index entries, "Pan Peter" and "Peter Pan". usually, this is the best way for index entries of two words. That does not do what I want, but I now found the solution with: .. index:: single: Pan, Peter This creates the right entry. Thanks! juh -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
Re: [sphinx-dev] names in index
Hi Am 18.05.2010 um 08:42 schrieb Viktoras: > ou probably want > >.. index:: >pair: Pan, Peter That does not do what I want, but I now found the solution with: .. index:: single: Pan, Peter This creates the right entry. Thanks! juh smime.p7s Description: S/MIME cryptographic signature
Re: [sphinx-dev] names in index
you probably want .. index:: pair: Pan, Peter On 2010.05.18 09:35, Jan Ulrich Hasecke wrote: Hi, I want to put names in the index sorted by surnames. Pan, Peter But if I do .. index:: Pan, Peter I get of course two entries. Is there a solution for this? juh -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.