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 B8411E838 for ; Thu, 28 Feb 2013 20:46:37 +0000 (UTC) Received: (qmail 50160 invoked by uid 500); 28 Feb 2013 20:46:35 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 50103 invoked by uid 500); 28 Feb 2013 20:46:35 -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 Received: (qmail 50094 invoked by uid 99); 28 Feb 2013 20:46:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 20:46:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ishalyminov@yandex-team.ru designates 95.108.253.144 as permitted sender) Received: from [95.108.253.144] (HELO forward19.mail.yandex.net) (95.108.253.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 20:46:26 +0000 Received: from webcorp2g.yandex-team.ru (webcorp2g.yandex-team.ru [95.108.252.6]) by forward19.mail.yandex.net (Yandex) with ESMTP id C31DF1121923 for ; Fri, 1 Mar 2013 00:46:05 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by webcorp2g.yandex-team.ru (Yandex) with ESMTP id A0C98318013; Fri, 1 Mar 2013 00:46:05 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1362084365; bh=g+EYaHZcd9JGZ8WeFsxgoIUcIeBPWYyqs415potkrM8=; h=From:To:Subject:Date; b=IBfaplHT4gcR0VXuZOMSTm8zNxCcZQNx1kYlMLy/o46jDDWPq5sz2/n1Yz9zY4fll g8GrXjdo3GqyCcbWvl+pARz0TXvv0AtBSUB+m6bIzDWfbglZIgaPV5RxD5GUDeY9to hoi1KmclZS/zE1Eymlv9m4tL+DDdGVYTEVN4iqPw= Received: from v3-151-16.yandex.net (v3-151-16.yandex.net [84.201.151.16]) by webcorp2g.yandex-team.ru with HTTP; Fri, 01 Mar 2013 00:46:05 +0400 From: Igor Shalyminov To: java-user@lucene.apache.org Subject: Multiple field values with the same position in the index MIME-Version: 1.0 Message-Id: <18671362084365@webcorp2g.yandex-team.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 01 Mar 2013 00:46:05 +0400 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org Hello! I'm thinking on a way of implementing the search with word ambiguity in Lucene. Say, a word "duck" appears in a document at the position 10. It has 2 Part-of-Speech tags: "Noun" and "Verb". And I want to recover this position both for POS:Noun and POS:Verb queries. So can you please point me at some documentation on indexing fields with position offsets, and make a guess wether it is possible to hack it that way? -- Best Regards, Igor Shalyminov --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org