lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <>
Subject Re: Storing additional Metadata with Fields
Date Thu, 14 Oct 2010 12:43:41 GMT
Am Donnerstag, 14. Oktober 2010, 12:29:43 schrieben Sie:


> > is there a way to store additional metadata with fields?

> > Example:
> > I have the following content:
> > <html><body>
> > <span page="1" x="1", y="1">This is a very</span>
> > <span page="1" x="1", y="2">interesting text.</span>
> > <span page="2" x="1", y="1">This is boring text</span>
> > </body></html>

> > Is there any way to include the page,x,y values in there?
> > I'd like to display the page when retrieving the results.

> Payload!!

Thanks for the hint. Looks good.

Although i have some additional questions. It seems Playload gets added to 
every term in the index, so in my case i would store the x,y and page values 
for every word and increase the index much more than i'd need.
Any approach for preventing this?

And when searching, how can i access the payloads when displaying the result? 
I haven't found information on that so far.

Christoph Hermann

PS: Sorry for the direct reply earlier.

Christoph Hermann
Institut für Informatik
Tel: +49 761-203-8171 Fax: +49 761-203-8162

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

View raw message