-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Storing data in index
PostPosted: Mon Sep 07, 2009 8:49 am 
Hi *,

don't know if this is the right place to ask but there is something i don't understand. Why is it neccessary to store something in the index. (with STORE.YES)
If i open my lucene index with luke i see the fields with the indexed values. (indexed with StandardAnalyzer)
So i know the words and there positions.
I think it should be possible to get the same informations as if the data was stored in the index. Or are there additional informations stored?
I although noticed the sign in Luke "Restored content only - check for errors". How could there be errors?

I didn't find some information about whats going on behind the scenes, maybe one of you can give me a hint where i missed to read or where to find some better information.


Top
  
 
 Post subject: Re: Storing data in index
PostPosted: Mon Sep 07, 2009 12:44 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

you might be able to see the word and position information, but what if you for example use a synonym analyzer which inserts new tokens. How do you restore the original text then. If you want to use projection or for some other reason need the original text you need to use STORE.YES.

if you want a deeper explanation I recommend you talk to the Lucene guys. There is also a document on the Lucene homepage describing the exact index format. I am sure you can learn a lot about the internal workings of the index reading it.

Hope this helps.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.