sort « lucene.net « Java Lucene Q&A

Home
Java Lucene Q&A
1.Database
2.Development
3.document
4.Field
5.index
6.lucene
7.lucene.net
8.nutch
9.query
10.solr
11.Tools
Java Lucene Q&A » lucene.net » sort 

1. Sorting in lucene.net    stackoverflow.com

I got my lucene index with a field that needs to be sorted on. I have my query and I can make my Sort object. If I understand right from the javadoc I ...

2. Searching and sorting by language    stackoverflow.com

I am testing Lucene.NET for our searching requirements, and I've got couple of questions. We have documents in XML format. Every document contains multi-language text. The number of languages and the languages ...

3. Document score effecting the sort order of results, Lucene    stackoverflow.com

Even after passing a sortfield, score of the document is effecting the sort order of the search results. Is there a way to make lucene to ignore the document score when ...

4. How to sort by a field that has an alternative value if null in lucene?    stackoverflow.com

I want to sort my lucene(.net) search results by a date field (date1), but if date1 is not set, I'd like to use date2. The traditional sort method is to sort by ...

5. Lucene.NET - sorting by int    stackoverflow.com

In the latest version of Lucene (or Lucene.NET), what is the proper way to get the search results back in sorted order? I have a document like this:

var document = new Lucene.Document();
document.AddField("Text", ...

6. Lucene.net 2.9.2 NumericField sort    stackoverflow.com

Can anyone verify if the latest Lucene.net 2.9.2 can sort (and reverse sort) NumericField? I am sort of stumped, expecially with the reverse sort :(

7. Lucene.net 2.9.2 sorting problem (sort doesn't work)    stackoverflow.com

I've got problem with sorting my lucene.net index in .NET. I tried almost every solution on stackoverflow and looking for google answers. I'm using Lucene.NET 2.9.2 and ASP.NET 2.0. I want ...

8. How can I search lucene.net with sorting feature?    stackoverflow.com

I am unsure that how I can use it with sorting. I want to sort the result by datetime descending.

9. i want to sort index in lucene.net how i can make descending of this one in c#?    stackoverflow.com

i have the code for getting sort result from lucene. now i need in descending order. can anyone show me the code for decending order for this search result

var sort = ...

10. default sort in lucene.net    stackoverflow.com

My index contains ~4 million recrords. When I sort the results, the query runs much slower, which is not surprising. My question is, is there some way to create the index so ...

11. Sorting Topscorecollector Results in Lucene.net?    stackoverflow.com

I am doing a search operation by using lucene where i was taking my results by using topscorecollector, but i found that it unable to sort my topscorecollector results. I found ...

12. Sort optional fields in Lucene.net    stackoverflow.com

I have a Lucene index which:

  • always contains field Title
  • may contain field Tag (depending on data that's being indexed)
I have a requirement to sort search results by Title and Tag fields. At ...

13. How to sort the result in Lucene.net in C#?    stackoverflow.com

i am adding special enum to lucene for relevant the search. how i can sort the result who have a specific enum value. suppose i add Poor moderate Best and i ...

14. Can I sort Lucene results while using a custom collector?    stackoverflow.com

Is it possible to sort Lucene results when using a custom collector, or would I have to implement that functionality myself, in the collector object? I can't find an overload ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.