sort « Development « 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 » Development » sort 

1. How to apply default sorting in lucene on equal scores?    stackoverflow.com

Good day, If I have for example the documents which have the following fields

Person_name - Birthday
Jordan - 2009-06-15
Marc - 2009-01-01
Marcos - 2009-01-01
Marcissh_something_something - 2009-06-15
Marcos - 2009-12-31
And upon searching for Person_name:Marc* I got ...

2. Sorting Lucene docs in Luke    stackoverflow.com

I want to fire up a query in luke for luncene indexed document. I want to sort the results before they are fetched. What is the lucene syntax to sort the ...

3. How to sort search results in lucene?    stackoverflow.com

For example, if I have enumeration with "good", "better", "the best" values, I want to sort my search results by field that holds one of this values in string representation. I have ...

4. I need to sort the facets that come back from SOLR by relevancy    stackoverflow.com

I have within my SOLR index song objects which belong to a higher level album object. An example is shown below:

<song>
<album title>Blood Sugar Sex Magic</album title>
<song title>Under the Bridge</song title>
<description>A sad ...

5. Solr sort by function    stackoverflow.com

I need to sort query results by the output of some function which takes "score" and couple other fields as an input (50% of the total score comes from similarity score ...

6. Custom Solr sorting    stackoverflow.com

I've been asked to do an evaluation of Solr as an alternative for a commercial search engine. The application now has a very particular way of sorting results using something called "buckets". I'll ...

7. Custom sorting for lucene    stackoverflow.com

Hi I have document with fields like (title, content, datetime) I want to sort the results with the following formula 1) title boosts 2.5 2) content boost 1.5 3) IMPORTANT (boost those documents that is newer ...

8. How to sort solr without stopwords    stackoverflow.com

I'm trying to sort a solr query by a field ignoring stopwords, but can't seem to find a way to do that. For example, I want the results to be ...

9. Sort solr result by weighting certain elements    stackoverflow.com

I have solr query that simply returns the most recent items in the index. However I'm trying to optionally if categories are passed in have it the category field weighted such ...

10. Sorting problem in lucene 3.0.2    stackoverflow.com

I am upgrading Lucene 2.4.1 to 3.0.2. My problem is, in lucene 2.4.1 we can pass ScoreDoc to compare method. like below public int compare(ScoreDoc i, ScoreDoc j) { ...

11. XSLT: Sorting like SOLR    stackoverflow.com

I am using an XSLT to sort a piece of XML such as:

<feed>
   <entry>
      <title>A To Z</title>
   </entry>
   <entry>
  ...

12. solr sorting spaces    stackoverflow.com

solr sorts strings with space as the first one. if it has to sort " sim", "albert", "bim". the results are: sim albert bim since sim has space at the begining it will be ...

13. Optimizing Solr for Sorting    stackoverflow.com

I'm using Solr for a realtime search index. My dataset is about 60M large documents. Instead of sorting by relevance, I need to sort by time. Currently I'm using the sort ...

14. Umbraco Examine - how to sort search results?    stackoverflow.com

I am trying to sort my search results by a custom Umbraco property I have created - let's call it sortDate. Inside my IndexSet, in config/ExamineIndex.config I have this:

<IndexUserFields>
    ...

15. Solr sort functions min works not like max?    stackoverflow.com

I want to order the Products to wheter a specific word is in the name and then to popularity. All Products that have the word in the name should be displayed ...

16. SOLR Relevance Sorting    stackoverflow.com

I am using SOLR 3.1. but I feel that "Relevance Sorting" is not working properly. I read that if we are not sorting then by default SOLR use "Relevance Sort" for ...

17. Solr Sort Performance issues    stackoverflow.com

I am trying to specify sort on a String field in my query but seeing memory issues since the index has around 50M docs. Why is that Solr actually sorts the ...

18. Solr sort does work expectedly    stackoverflow.com

Have a field title field with the definition

<field name="title" type="text" indexed="true" stored="true"/>
I want to display the results order by score and if it is tied order by title as the secondary ...

19. Sorting lucene search results    stackoverflow.com

I am trying to sort the search results of Lucene search engine from highest to lowest. For example: I am searching for 2 words: lucene and java

Searching for 'lucene'

3 results found 

ppp.txt
nnn.txt
mmm.txt


Searching ...

20. Sorting Results of a Multi-valued Faceted Search    stackoverflow.com

Using bobo-browse MultiValueFacetHandler to gather multi-valued faceted results, how do I sort these facets by the top-scoring document in each facet?
For example, if:

  • Document d1 has facets f1 and ...

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.