[Xapian-discuss] Grouping document paragraphs

James Aylett james-xapian at tartarus.org
Mon Jan 14 23:00:01 GMT 2008

On Mon, Jan 14, 2008 at 11:51:10PM +0100, Yannick Warnier wrote:

> I want to index documents but splitted into paragraph types (title,
> abstract, main content, etc) and then I want to retrieve every document
> that contains a combination of "trains" AND "wheels" in any combination
> of the paragraphs of a document, how could that work?

You could assign a value to each paragraph-as-Xapian::Document which
identifies the source file, and then use that value number for

Why do you want to index the paragraphs separately? Are you going to
want to search for them separately in some other context?


  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org

More information about the Xapian-discuss mailing list