Re: how to sort search results by count matches

2016-08-02 Thread syegorius
2016-08-02 17:12 GMT+03:00, syegorius [via Lucene] : > > > no. this is just just an example. i need some formula or some statement to > sort results by count matches. everything i wrote was for you to best > understand my problem > > > > _

Re: how to sort search results by count matches

2016-08-02 Thread syegorius
no. this is just just an example. i need some formula or some statement to sort results by count matches. everything i wrote was for you to best understand my problem -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-sort-search-results-by-count-matches-tp4290022p429002

how to sort search results by count matches

2016-08-02 Thread syegorius
I have 4 records index by Solr: 1 hello planet dear friends 2 hello world dear friends 3 nothing 4 just friends I'm searching with this query: select?q=world+dear+friends&wt=json&indent=true The result is: 1 hello planet dear friends 2 hello world dear friends 4 just friends But as you can