Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7A4912009A8 for ; Tue, 17 May 2016 16:35:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 78BB61609F5; Tue, 17 May 2016 14:35:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7F1C1607A8 for ; Tue, 17 May 2016 16:35:45 +0200 (CEST) Received: (qmail 89546 invoked by uid 500); 17 May 2016 14:35:44 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 89535 invoked by uid 99); 17 May 2016 14:35:44 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 14:35:44 +0000 Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 27CBF1A00EB for ; Tue, 17 May 2016 14:35:44 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id v145so27734918oie.0 for ; Tue, 17 May 2016 07:35:44 -0700 (PDT) X-Gm-Message-State: AOPr4FW7aWI58TjSdxF+09DCOl1Y/N6sCMyjGebfE6IWcX9BURw4GAxTzz6omp2trwfvwNTiPlgd/CgH1L1JaA== MIME-Version: 1.0 X-Received: by 10.157.63.70 with SMTP id m64mr965776otc.170.1463495743334; Tue, 17 May 2016 07:35:43 -0700 (PDT) Received: by 10.202.171.9 with HTTP; Tue, 17 May 2016 07:35:43 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 May 2016 15:35:43 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Sorting for MLT results From: Alessandro Benedetti To: "solr-user@lucene.apache.org" Content-Type: multipart/alternative; boundary=001a11472f2ee9955e05330aa7ec archived-at: Tue, 17 May 2016 14:35:46 -0000 --001a11472f2ee9955e05330aa7ec Content-Type: text/plain; charset=UTF-8 using the more like this query parser should solve your problem ! Just use that query parser and than sort as usual. Cheers On Wed, May 11, 2016 at 4:53 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > Would like to check, is there a function to do the sorting for MLT results > in Solr? I understand that there is a sort function, but that only works > for the main query results. It does not do any sorting for the MLT results > > I'm using Solr 5.4.0. > > Regards, > Edwin > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England --001a11472f2ee9955e05330aa7ec--