From solr-user-return-148958-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Fri Jul 26 05:35:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 57E85180595 for ; Fri, 26 Jul 2019 07:35:04 +0200 (CEST) Received: (qmail 42463 invoked by uid 500); 26 Jul 2019 05:34:56 -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 42446 invoked by uid 99); 26 Jul 2019 05:34:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jul 2019 05:34:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6805BC025A for ; Fri, 26 Jul 2019 05:34:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6bvNyBNthhBN for ; Fri, 26 Jul 2019 05:34:53 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.49; helo=mail-lf1-f49.google.com; envelope-from=govind.nitk@gmail.com; receiver= Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 924BEBC7E1 for ; Fri, 26 Jul 2019 05:34:52 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id c9so36144265lfh.4 for ; Thu, 25 Jul 2019 22:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Ok4qtnizOQZlGHsAHOfiDr71H39RzsAM+sZdVUyXxcU=; b=QmfpdExwR2sELQ+fDenUTncP5WlugnxGJARO6mdOOXy42f745Ma7WY9V+xh8g4gh9l PKU8JEIp8IEPiQFWGbFN9/nm/WvIJeBrQ5yxE9ddUb1noyjmiRN6RuzgvwijW58wAQDh ifsHM/WPlSTB56iq2DesQKRPjUzV4vkhlgGW03tBM3a/N8wJ+pEO29btQAwJHhd4WnNp Fq4exPhbHjhl4xcXm+e8pKfRotVucbcgCpLD2V/JK2+9+0Hu8abvLktxICjjm2Iv/QoG Gx0TlnvCyel+XrUI02N5cZA1ph7eCb2voQxpBxekdaqVQjT3DqJq1F622nvhR8v/pwuE NkHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Ok4qtnizOQZlGHsAHOfiDr71H39RzsAM+sZdVUyXxcU=; b=Y6W1RrdhSSeu88mYKESjbiOa8lcuMpbg2Kc+gnB/wIlpGq4tH41qgAMP2o/tkcz/IV +5rzExEPxvpr45vrRTJQ3C9wACUbhgwPox4VWO8+o6t9mQrWW3hu9T+QdPmRa7giIdmo STFp/kiG2bTJPG6UnZQM8hxoom7Bar6ArD+C7T/UpUToYqkua0LWUJMcJ+NRccmkCRe1 c75dsDcLK0jyFqLkdQyrv/Yl/B2m12w+y7VQJm/8L0DTonNzMgO9VVVD7IwXkmxGXwro GLuWSFvwo1EhfumCnwYNEEnL5H+/RNzyhUg+uCghj43DJ2a70f12Hxw8teepruLJFhu4 mTBw== X-Gm-Message-State: APjAAAVMAVO+K/luQgsXmqLbnm1/Y6ErvqOxXdrwb1FMrWfblO7b6UZU y9aoU3lot5ZtVNV24A3NNdCr4EtIj/sDQvVonwR8IqNU X-Google-Smtp-Source: APXvYqyQZWCD+1ZNUIx4wUVAnTlGRSTfFND14P1/M5FxdjouaYqhh/a09r98BWAIqVap5JlpHnaJwp5WxlzYl/+7Wck= X-Received: by 2002:ac2:5a44:: with SMTP id r4mr8993106lfn.118.1564119291175; Thu, 25 Jul 2019 22:34:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: govind nitk Date: Fri, 26 Jul 2019 11:04:39 +0530 Message-ID: Subject: Re: More Highlighting details To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary="000000000000bca764058e8ee614" --000000000000bca764058e8ee614 Content-Type: text/plain; charset="UTF-8" Hi Furkan KAMACI, Thanks for your reply. Will look at custom transformer options. I was looking for any way( can be debug also) to get from highlight that it is matched vs defaultSummary. Anyways, will update findings on custom transformers and if it can solve what I mean by. Best Regards, Govind On Thu, Jul 25, 2019 at 11:45 PM Furkan KAMACI wrote: > Hi Govind, > > Highlighting is the easiest way to detect it. You can find a similar > question at here: > > https://stackoverflow.com/questions/9629147/how-to-return-column-that-matched-the-query-in-solr > > Kind Regards, > Furkan KAMACI > > On Wed, Jul 24, 2019 at 9:28 PM govind nitk wrote: > > > Hi Furkan KAMACI, > > > > Thanks for your thoughts on maxAnalyzedChars. > > > > So, how can we get whether its matched or not? Is there any way to get > such > > data from extra payload in response from solr ? > > > > Thanks and regards > > Govind > > > > On Wed, Jul 24, 2019 at 8:43 PM Furkan KAMACI > > wrote: > > > > > Hi Govind, > > > > > > Using *hl.tag.pre* and *hl.tag.post* may help you. However you should > > keep > > > in mind that even such term exists in desired field, highlighter can > use > > > fallback field due to *hl.maxAnalyzedChars* parameter. > > > > > > Kind Regards, > > > Furkan KAMACI > > > > > > On Wed, Jul 24, 2019 at 8:24 AM govind nitk > > wrote: > > > > > > > Hi all, > > > > How about using hl.tag pre and post. If these are present then there > is > > > > actually field match otherwise its default summary ? > > > > Will it work or there are some cases where it will not ? > > > > > > > > > > > > Thanks in advance. > > > > > > > > > > > > > > > > On Tue, Jul 23, 2019 at 5:48 PM govind nitk > > > wrote: > > > > > > > > > Hi all, > > > > > > > > > > How to get more details for highlighting ? > > > > > > > > > > I am using > > > > > > > > > > > > > > > hl.method=unified&&hl.fl=title,url,paragraph&hl.requireFieldMatch=true&hl.defaultSummary=true > > > > > > > > > > So, if query words not matched, I am getting defaultSummary, which > is > > > > > great. *Can we get more info saying whether it found matches or > > default > > > > > summary? How to get such information?* > > > > > Also is it good idea to use highlighting on urls ? Will urls get > > > > distorted > > > > > by any chance ? > > > > > > > > > > > > > > > Best Regards, > > > > > Govind > > > > > > > > > > > > > > > > > > > > --000000000000bca764058e8ee614--