Re: [CLucene-dev] Re: [sword-devel] clucene-sorting

2005-12-23 Thread Ben van Klinken
As of clucene 0.9 you can also write a custom sorter, which could directly compare the verses, thus saving index size - at the cost of a slower first search (subsequent searches can have their sort cached). ben On 12/23/05, DM Smith <[EMAIL PROTECTED]> wrote: > > L.J.Arthur Neil wrote: > > Hi A

Re: [sword-devel] clucene-sorting

2005-12-23 Thread DM Smith
L.J.Arthur Neil wrote: Hi All, How can I do soring.I am able to Index and order .But the Sort function doesn't work. This question may be best answered by the lucene users mailing list. What are you attempting to do? It is not clear from your example what you are sorting

[sword-devel] clucene-sorting

2005-12-22 Thread L.J.Arthur Neil
Hi All,How can I do soring.I am able to Index and order .But the Sort function doesn't work.I have used the following code; Query* q = QueryParser::parse(tline,_T("contents"),&analyzer);    //buf = q->toString(_T("contents"));    //  _tprintf(_T("Searching for: %s\n\n"), buf)