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 dinesh naik <di...@gmail.com> on 2015/06/29 14:20:29 UTC

Reading indexed data from solr 5.1.0 using admin/luke?

Hi all,

Is there a way to read the indexed data for field on which the
analysis/processing  has been done ?

I know using admin GUI we can see field wise analysis But how can i get
hold on the complete document using admin/luke? or any other way?

For example, if i have 2 fields called name and compressedname.

name has values like apple, green-apple,red-apple
compressedname has values like apple,greenapple,redapple

Even though i make both these field indexed=true and stored=true

I am not able to see the compressed values using admin/luke?id=<mydocid>

in response i see something like this-


<lst name="name ">
<str name="type">string</str>
<str name="schema">ITS--------------</str>
<str name="flags">ITS--------------</str>
<str name="value">GREEN-APPLE</str>
<str name="internal">GREEN-APPLE</str>
<float name="boost">1.0</float>
<int name="docFreq">0</int>
</lst>
<lst name="compressedname">
<str name="type">string</str>
<str name="schema">ITS--------------</str>
<str name="flags">ITS--------------</str>
<str name="value">GREEN-APPLE</str>
<str name="internal">GREEN-APPLE</str>
<float name="boost">1.0</float>
<int name="docFreq">0</int>
</lst>



-- 
Best Regards,
Dinesh Naik

Re: Reading indexed data from solr 5.1.0 using admin/luke?

Posted by Erick Erickson <er...@gmail.com>.
Not quite sure what you mean by "compressed values". admin/luke
doesn't show the results of the compression of the stored values, there's
no way I know of to do that.

Best,
Erick

On Mon, Jun 29, 2015 at 8:20 AM, dinesh naik <di...@gmail.com> wrote:
> Hi all,
>
> Is there a way to read the indexed data for field on which the
> analysis/processing  has been done ?
>
> I know using admin GUI we can see field wise analysis But how can i get
> hold on the complete document using admin/luke? or any other way?
>
> For example, if i have 2 fields called name and compressedname.
>
> name has values like apple, green-apple,red-apple
> compressedname has values like apple,greenapple,redapple
>
> Even though i make both these field indexed=true and stored=true
>
> I am not able to see the compressed values using admin/luke?id=<mydocid>
>
> in response i see something like this-
>
>
> <lst name="name ">
> <str name="type">string</str>
> <str name="schema">ITS--------------</str>
> <str name="flags">ITS--------------</str>
> <str name="value">GREEN-APPLE</str>
> <str name="internal">GREEN-APPLE</str>
> <float name="boost">1.0</float>
> <int name="docFreq">0</int>
> </lst>
> <lst name="compressedname">
> <str name="type">string</str>
> <str name="schema">ITS--------------</str>
> <str name="flags">ITS--------------</str>
> <str name="value">GREEN-APPLE</str>
> <str name="internal">GREEN-APPLE</str>
> <float name="boost">1.0</float>
> <int name="docFreq">0</int>
> </lst>
>
>
>
> --
> Best Regards,
> Dinesh Naik