lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <herm...@informatik.uni-freiburg.de>
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:

Hello,

> > 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.

regards
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
e-mail: hermann@informatik.uni-freiburg.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message