You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Licinio Fernández Maurelo <li...@gmail.com> on 2010/05/03 14:56:54 UTC

Retrieving indexed field data

Hi folks,

i'm wondering if there is a way to retrieve the indexed data. The reason is
that i'm working on a solrj-based tool that copies one index data into other
(allowing you to perform changes in docs ). I know i can't perform any
change in an indexed field, just want to "copy" the chunk of bytes ..

Am i missing something? Indexing generated data can't be retrieved anyway?

Thanks in advance .....

-- 
Lici
~Java Developer~

Re: Retrieving indexed field data

Posted by Praveen Agrawal <pk...@gmail.com>.
may be backup/restore data directory a workaround for you!!


On Mon, May 3, 2010 at 7:47 PM, Erick Erickson <er...@gmail.com>wrote:

> Ahhh, Nope, I'm clueless. This strikes me as a pretty hairy thing to
> do, but there's no built-in support that I know of for anything
> similar.....
>
> Sorry I can't be more help
> Erick
>
> 2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>
>
> > Thanks for your response, Erik.
> >
> > Just want to "copy" indexing related info for fields indexed but not
> stored
> >  , *don't want to reconstruct the original field(s) value. *
> > *
> > *
> > Any help?* *
> > *
> > *
> > *
> > *
> > *
> > *
> > *
> > *
> > *
> > *
> >
> >
> >
> > 2010/5/3 Erick Erickson <er...@gmail.com>
> >
> > > If you're asking if indexed but NOT stored data can be retrieved,
> > > i.e. if you can reconstruct the original field(s) from the indexed
> > > data alone, the answer is no. Or, rather, you can, kinda, but it's
> > > a lossy process.
> > >
> > > Consider stemming. If you indexed "running" using stemming,
> > > the term "run" is indexed. Lucene/SOLR has no record
> > > of the original term. Similarly with stopwords.
> > >
> > > But if you *store* the data, then the original can be retrieved.
> > >
> > > HTH
> > > Erick
> > >
> > > 2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>
> > >
> > > > Hi folks,
> > > >
> > > > i'm wondering if there is a way to retrieve the indexed data. The
> > reason
> > > is
> > > > that i'm working on a solrj-based tool that copies one index data
> into
> > > > other
> > > > (allowing you to perform changes in docs ). I know i can't perform
> any
> > > > change in an indexed field, just want to "copy" the chunk of bytes ..
> > > >
> > > > Am i missing something? Indexing generated data can't be retrieved
> > > anyway?
> > > >
> > > > Thanks in advance .....
> > > >
> > > > --
> > > > Lici
> > > > ~Java Developer~
> > > >
> > >
> >
> >
> >
> > --
> > Lici
> > ~Java Developer~
> >
>

Re: Retrieving indexed field data

Posted by Erick Erickson <er...@gmail.com>.
Ahhh, Nope, I'm clueless. This strikes me as a pretty hairy thing to
do, but there's no built-in support that I know of for anything
similar.....

Sorry I can't be more help
Erick

2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>

> Thanks for your response, Erik.
>
> Just want to "copy" indexing related info for fields indexed but not stored
>  , *don't want to reconstruct the original field(s) value. *
> *
> *
> Any help?* *
> *
> *
> *
> *
> *
> *
> *
> *
> *
> *
>
>
>
> 2010/5/3 Erick Erickson <er...@gmail.com>
>
> > If you're asking if indexed but NOT stored data can be retrieved,
> > i.e. if you can reconstruct the original field(s) from the indexed
> > data alone, the answer is no. Or, rather, you can, kinda, but it's
> > a lossy process.
> >
> > Consider stemming. If you indexed "running" using stemming,
> > the term "run" is indexed. Lucene/SOLR has no record
> > of the original term. Similarly with stopwords.
> >
> > But if you *store* the data, then the original can be retrieved.
> >
> > HTH
> > Erick
> >
> > 2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>
> >
> > > Hi folks,
> > >
> > > i'm wondering if there is a way to retrieve the indexed data. The
> reason
> > is
> > > that i'm working on a solrj-based tool that copies one index data into
> > > other
> > > (allowing you to perform changes in docs ). I know i can't perform any
> > > change in an indexed field, just want to "copy" the chunk of bytes ..
> > >
> > > Am i missing something? Indexing generated data can't be retrieved
> > anyway?
> > >
> > > Thanks in advance .....
> > >
> > > --
> > > Lici
> > > ~Java Developer~
> > >
> >
>
>
>
> --
> Lici
> ~Java Developer~
>

Re: Retrieving indexed field data

Posted by Licinio Fernández Maurelo <li...@gmail.com>.
Thanks for your response, Erik.

Just want to "copy" indexing related info for fields indexed but not stored
 , *don't want to reconstruct the original field(s) value. *
*
*
Any help?* *
*
*
*
*
*
*
*
*
*
*



2010/5/3 Erick Erickson <er...@gmail.com>

> If you're asking if indexed but NOT stored data can be retrieved,
> i.e. if you can reconstruct the original field(s) from the indexed
> data alone, the answer is no. Or, rather, you can, kinda, but it's
> a lossy process.
>
> Consider stemming. If you indexed "running" using stemming,
> the term "run" is indexed. Lucene/SOLR has no record
> of the original term. Similarly with stopwords.
>
> But if you *store* the data, then the original can be retrieved.
>
> HTH
> Erick
>
> 2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>
>
> > Hi folks,
> >
> > i'm wondering if there is a way to retrieve the indexed data. The reason
> is
> > that i'm working on a solrj-based tool that copies one index data into
> > other
> > (allowing you to perform changes in docs ). I know i can't perform any
> > change in an indexed field, just want to "copy" the chunk of bytes ..
> >
> > Am i missing something? Indexing generated data can't be retrieved
> anyway?
> >
> > Thanks in advance .....
> >
> > --
> > Lici
> > ~Java Developer~
> >
>



-- 
Lici
~Java Developer~

Re: Retrieving indexed field data

Posted by Erick Erickson <er...@gmail.com>.
If you're asking if indexed but NOT stored data can be retrieved,
i.e. if you can reconstruct the original field(s) from the indexed
data alone, the answer is no. Or, rather, you can, kinda, but it's
a lossy process.

Consider stemming. If you indexed "running" using stemming,
the term "run" is indexed. Lucene/SOLR has no record
of the original term. Similarly with stopwords.

But if you *store* the data, then the original can be retrieved.

HTH
Erick

2010/5/3 Licinio Fernández Maurelo <li...@gmail.com>

> Hi folks,
>
> i'm wondering if there is a way to retrieve the indexed data. The reason is
> that i'm working on a solrj-based tool that copies one index data into
> other
> (allowing you to perform changes in docs ). I know i can't perform any
> change in an indexed field, just want to "copy" the chunk of bytes ..
>
> Am i missing something? Indexing generated data can't be retrieved anyway?
>
> Thanks in advance .....
>
> --
> Lici
> ~Java Developer~
>