This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
We have just implimented the Lucence full text searching. The results don't seem to be ordered by matching score. E.g. if I search for Will Smith in my sample data (using "Will* Smith*"), "Smith, Will" doesn't show up until item 20, behind "Wills, Samuel", "Willets, Todd" and "Williams, Sonny". Is there any way to order by matching score? Ideally I would order by score and then date entered.
|
|
|
The default sort order returned when a search query is scoping the results is by the score returned from the search query. If you call:
Then results will be a list of SearchResult which will include a Score property which will indicate the returned score from Lucene which should match the order you are seeing from the .Find() call.
|
|