> An int will be stored as a 2 char string which will be sorted "char by char"
> so
> they will be almost as fast as sorting as integers.
John, two problems:
1) Memory consumption - string sorting uses String[] instead of int[]
2) Lucene uses UTF-8 to store strings, and you can't round-trip
arbit
Hi Monsur,
On Windows, using Lucene.Net/DotLucene I have done a similar trick to what
Otis pointed out in his link. However, in my case, I renamed the index
folder (much faster then copying the index around.) That is, I have two
folders, lets call one "LiveIndex" the other "LiveSearch". Based o