I need know if I can make resume of the document, and how, but I need
that in the resume appear the words that I am find. An need know too
if this can be do using omega.

thanks

Search Discussions

  • Jim at Nov 7, 2007 at 5:06 pm

    Aleph Thomas wrote:
    I need know if I can make resume of the document, and how, but I need
    that in the resume appear the words that I am find. An need know too
    if this can be do using omega.

    thanks

    _
    I'm going to guess that by "resume" you mean a sample of the document
    similar to what Google presents. If that is true, then omega does not
    have the ability to extract sample data from the original source and
    highlight the search terms.

    I have implemented this in a perl script. The method I used was to call
    omega using the FMT=xml option and parse the returned xml document. In
    the data I indexed is a field that points to the original file from
    which I indexed. For each "hit" I extract that file name, read the file
    and generate a sample with phrases containing the search terms. I
    arbitrarily truncate the data without thought to trying to rate the
    phrases as to their relevance.

    Hope that helps you get started.

    Jim.
  • Olly Betts at Nov 7, 2007 at 5:50 pm

    On Wed, Nov 07, 2007 at 12:06:31PM -0500, Jim wrote:
    I have implemented this in a perl script. The method I used was to call
    omega using the FMT=xml option and parse the returned xml document. In
    the data I indexed is a field that points to the original file from
    which I indexed. For each "hit" I extract that file name, read the file
    and generate a sample with phrases containing the search terms. I
    arbitrarily truncate the data without thought to trying to rate the
    phrases as to their relevance.
    See also this thread:

    http://thread.gmane.org/gmane.comp.search.xapian.general/5097

    Cheers,
    Olly
  • Aleph Thomas at Nov 7, 2007 at 5:56 pm
    In general, I not can get the resume use xapian? for example if I have
    this text:

    " This is a new test for search in xapian."

    I search for example for "new", I need that return "is a new test" or
    some similar, and the same for many words

    thanks
    On 11/7/07, Jim wrote:
    Aleph Thomas wrote:
    I need know if I can make resume of the document, and how, but I need
    that in the resume appear the words that I am find. An need know too
    if this can be do using omega.

    thanks

    _
    I'm going to guess that by "resume" you mean a sample of the document
    similar to what Google presents. If that is true, then omega does not
    have the ability to extract sample data from the original source and
    highlight the search terms.

    I have implemented this in a perl script. The method I used was to call
    omega using the FMT=xml option and parse the returned xml document. In
    the data I indexed is a field that points to the original file from
    which I indexed. For each "hit" I extract that file name, read the file
    and generate a sample with phrases containing the search terms. I
    arbitrarily truncate the data without thought to trying to rate the
    phrases as to their relevance.

    Hope that helps you get started.

    Jim.

    _______________________________________________
    Xapian-discuss mailing list
    Xapian-discuss@lists.xapian.org
    http://lists.xapian.org/mailman/listinfo/xapian-discuss
  • Olly Betts at Nov 7, 2007 at 6:03 pm

    On Wed, Nov 07, 2007 at 12:56:13PM -0500, Aleph Thomas wrote:
    In general, I not can get the resume use xapian? for example if I have
    this text:

    " This is a new test for search in xapian."

    I search for example for "new", I need that return "is a new test" or
    some similar, and the same for many words
    There's currently no explicit summarisation support in Xapian. It would
    certainly be nice to have some, but we don't yet.

    Cheers,
    Olly
  • Olly Betts at Nov 7, 2007 at 6:18 pm

    On Wed, Nov 07, 2007 at 06:03:22PM +0000, Olly Betts wrote:
    There's currently no explicit summarisation support in Xapian. It would
    certainly be nice to have some, but we don't yet.
    I've filed a wishlist bug to track this:

    http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id!1

    Cheers,
    Olly

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupxapian-discuss @
categoriesxapian
postedNov 6, '07 at 8:42p
activeNov 7, '07 at 6:18p
posts6
users3
websitexapian.org
irc#xapian

3 users in discussion

Olly Betts: 3 posts Aleph Thomas: 2 posts Jim: 1 post

People

Translate

site design / logo © 2021 Grokbase