From lucene-user-return-77-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Fri Oct 19 13:02:58 2001
Return-Path:
Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org
Received: (qmail 16478 invoked by uid 500); 19 Oct 2001 13:02:57 -0000
Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm
Precedence: bulk
List-Post:
List-Help:
List-Unsubscribe:
List-Subscribe:
Delivered-To: mailing list lucene-user@jakarta.apache.org
Received: (qmail 16417 invoked from network); 19 Oct 2001 13:02:56 -0000
Message-ID: <54758.202.140.147.60.1003492954.squirrel@mail.interactive1.com>
Date: Fri, 19 Oct 2001 13:02:34 +0100 (BST)
Subject: Summary containing the search term.
From:
To:
X-Mailer: InteractiveMail (version 1.2.0)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Hello All,
We have started using lucene recently and would like to know if lucene
supports context-sensitive summaries for the search hits? Is it possible to
store the context-sensitive summary for each term (say 200 characters
containing the search word), at the time of indexing, along with the term
and its frequency? The summary can be taken as about 100 characters before
the word and about 100 characters after the word. If the word is the first
word in the document, then 200 words after it, or if it is the last word in
the document then 200 words before it. How can it be supported for
different types of queries say phrase query, prefix query etc. Which
classes need to be edited or extended and in what manner?
An early response will be highly appreciated.
Thanks in advance for the help.
Sampreet Kaur Chawla,
Programmer.