Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B849611F69 for ; Mon, 7 Apr 2014 08:05:54 +0000 (UTC) Received: (qmail 10162 invoked by uid 500); 7 Apr 2014 08:05:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 9624 invoked by uid 500); 7 Apr 2014 08:05:50 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Delivered-To: moderator for java-user@lucene.apache.org Received: (qmail 98455 invoked by uid 99); 7 Apr 2014 07:47:30 -0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jigaronline@gmail.com designates 209.85.215.49 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CXthPbefCMnWTbmxTjnoVnmwxPZHLRWn4QLVHBcDzPA=; b=hVCoO2QDWwHe+jyVlH/JVJAvWL5+bhbPsohAkSRoZBcBfTI9oDtLet+W2ASFTBPWcl SR0+n4m6Ts3hgLAyDnZbH6GUHcxXlGx1xRvb+VcVSeHOJ0593G7QXYgH7oY4wcq1Pb1e 0JtUR9jNh5HFz6l3BYUe+b+86Z+rpq4bgi1UgOmjFPjXrkk6eZYPhXVTbUr0wUhggE9L u4yTbaY/tRHVH/fIvnNr8mJnG+aPPVCsFPGDcJjZw7DIsoV6J2/tgujYHVBGOJOHDLP4 fQhWmzDsdklRPp33PwpA2NuoxALXqyMMGF6AjsnPY/T93thHWTaz2hFNWTUKo134d5cz lYLw== MIME-Version: 1.0 X-Received: by 10.152.2.99 with SMTP id 3mr98824lat.51.1396856823669; Mon, 07 Apr 2014 00:47:03 -0700 (PDT) Date: Mon, 7 Apr 2014 13:17:03 +0530 Message-ID: Subject: Proximity Search for SENTENCE and PARAGRAPH From: Jigar Shah To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=089e013c610ac6e8dc04f66f1265 X-Virus-Checked: Checked by ClamAV on apache.org --089e013c610ac6e8dc04f66f1265 Content-Type: text/plain; charset=ISO-8859-1 Hello all, I need to implement 2 features in my application: 1. "Proximity for words and phrases within the same sentence" 2. "Proximity for words and phrases within the same paragraph" Doing some research on internet if found following things. There is "ProximityQueryNode" which has some enum for this, but there seems no support in parser for it. As there are no out-of-the box support or some contrib, for such feature, except one https://github.com/markrmiller/qsol. which is not maintained. There are some workarounds suggested like marking sentence/paragraph boundaries. And then search using SpanQuery Api. Please let me know if some work done for such features, or some proven approach. Thanks Jigar Shah. --089e013c610ac6e8dc04f66f1265--