Case and sorting/searching
jda
jda at his.com
Fri Sep 17 08:51:35 CDT 2004
> Can I get rid of these methods (or at least one of them) in 2.x? If
> >>> so, how should I create the authors field?
>>>
>>> AuthorsMethod yes.
>>>
>>> Wait. I need check this self yet
>>>
>>> Simply you will tell to authors field that it must have
>>> Case insensitive index.
>>>
>>
>>
>> You mean like this:
>>
>> authors = CreateTextField("authors", 128, "English",
> > Valentina.fIndexByWords + Valentina.fIndexCaseInsensetive)?
>
>yes
>
Ruslan,
OK, I've done that (and when index by words is operational I'll test searches).
Now, what would be the best "2.x way" of also letting me sort on the
authors field in a case-insensitive manner? In 1.x I used this method:
authorsSortMethod = CreateTextField("authorsSortMethod", 128,
"English", Valentina.fIndexed, "Upper(authors)")
Is this still the best way in 2.x?
Thanks,
Jon
More information about the Valentina-beta
mailing list