lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <>
Subject [jira] [Comment Edited] (LUCENE-5317) Concordance/Key Word In Context (KWIC) capability
Date Tue, 10 Oct 2017 18:41:00 GMT


Tim Allison edited comment on LUCENE-5317 at 10/10/17 6:40 PM:

A prototype ASL 2.0 application that demonstrates the utility of the concordance is available:

was (Author:
an prototype ASF 2.0 application that demonstrates the utility of the concordance is available:

> Concordance/Key Word In Context (KWIC) capability
> -------------------------------------------------
>                 Key: LUCENE-5317
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/search
>    Affects Versions: 4.5
>            Reporter: Tim Allison
>            Assignee: Tommaso Teofili
>              Labels: patch
>         Attachments: LUCENE-5317.patch, LUCENE-5317.patch, concordance_v1.patch.gz, lucene5317v1.patch,
> This patch enables a Lucene-powered concordance search capability.
> Concordances are extremely useful for linguists, lawyers and other analysts performing
analytic search vs. traditional snippeting/document retrieval tasks.  By "analytic search,"
I mean that the user wants to browse every time a term appears (or at least the topn)  in
a subset of documents and see the words before and after.  
> Concordance technology is far simpler and less interesting than IR relevance models/methods,
but it can be extremely useful for some use cases.
> Traditional concordance sort orders are available (sort on words before the target, words
after, target then words before and target then words after).
> Under the hood, this is running SpanQuery's getSpans() and reanalyzing to obtain character
offsets.  There is plenty of room for optimizations and refactoring.
> Many thanks to my colleague, Jason Robinson, for input on the design of this patch.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message