-
Notifications
You must be signed in to change notification settings - Fork 15
CFSearch can't order results?? #69
Comments
I think you can use Querysort(). |
@acg10, Example
|
Thax for the replies. My problem is that im use pagination in the search (maxrows param), so my returned query object not contains all the data. Is 8000 possible say to Lucene that search in the index sorted?? Thax everybody |
com/bluedreagon/search/... |
Can you show an example of how you did that? I'm curious :) |
Hi MFernstrom: String field = "title"; TopDocs localTopDocs = localIndexSearcher.search(this.queryAttributes.getQuery(), localCollection.getTotalDocs(), sorter); And Lucene return the TopDocs sorted by this field "filename". A good idea is parametrizer this field in cfsearch function to can get the results sorted in Lucene. Thx for everthing and sorry my bad english |
Nice @acg10 , thanks for sharing! |
Hi everybody.
I'm a project that use Razuna, an DAM platform what use OpenBD. My problem is that this App use Lucene like search-engine and i can't sort the results.
I see so in Adobe ColdFusion 10 is possible order the results with a new param called "orderBy", but this not work in OpenBD.
Is posible use the CFSearch class to sort my results???
Thanx everybody
The text was updated successfully, but these errors were encountered: