Sorry, I was a little bit irritated by the given example ...
Now, with ft:tokens('db') I'll get mostly what I want, if I'm NOT using
stemming when creating the fulltext-index.
But its sorted by length of the tokens, inside length it's alphanumeric:
A
B
C
zusammenknäuelte
zusammenschütten
That works perfect. Thanks a lot.
> Am 13.01.2016 um 15:27 schrieb Christian Grün :
>
>> So far, I can't figure out a way to do a alphanumeric sorting of the
>> complete list by content of the entry, the token itself.
>
> Try this [1]:
>
> for $token in
> So far, I can't figure out a way to do a alphanumeric sorting of the complete
> list by content of the entry, the token itself.
Try this [1]:
for $token in ft:tokens('factbook')
order by $token collation '?lang=de'
return $token
[1] http://docs.basex.org/wiki/Full-Text#Collations
Hi all, hi Christian
is there any way to get the complete list of the full-text-index? With the GUI
I only get the first part:
- Names:
- Size: 5 MB
- Entries: 23401
und 22662x
der 20595x
Thanks in advance.
Best regards,
Günter
Perhaps I don't get it, that command gives me the number of a specific term?
But I need the list of all terms (with number of occurences).
Best, Günter
> Am 12.01.2016 um 21:39 schrieb Christian Grün :
>
>> is there any way to get the complete list of the
> is there any way to get the complete list of the full-text-index?
Yes there is [1]. Check out all other functions in the Full-Text
Module; they may help you in various other situations.
Cheers,
Christian
[1] http://docs.basex.org/wiki/Full-Text_Module#ft:tokens
With the GUI I only get the
What did you try so far?
On Tue, Jan 12, 2016 at 9:49 PM, kleist wrote:
> Perhaps I don't get it, that command gives me the number of a specific term?
> But I need the list of all terms (with number of occurences).
>
> Best, Günter
>
>> Am 12.01.2016 um 21:39 schrieb
7 matches
Mail list logo