lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renuka Srishti <renuka.srisht...@gmail.com>
Subject Re: Indexed=false for a field,but still able to search on field.
Date Tue, 29 Aug 2017 06:48:03 GMT
Hii,

I have tried two scanarios:

   1. I have tried  <field name="fieldName" type="string" indexed="false"
   stored="true"/> and docValues is not set anything.
   2. I have tried  <field name="fieldName" type="string" indexed="false"
   stored="true"/> and docValues is set true.

#1. You can not search directly that field, but when you apply search in
any other field of that doc, it will show you that field in the result.

      You can not do faceting on this field as well.

       If you will apply seach on this field in the Solr Admin Panel, no
result found. But you can see this field on doc there.

#2. Its searchable and can do faceting also.


Please correct me, if I am going wrong.


Thanks

Renuka Srishti



On Tue, Aug 29, 2017 at 1:06 AM, AshB <bishtashish77@gmail.com> wrote:

> Hi,
>
> Yes docValues is true for fieldType
>
> <fieldType name="string" class="solr.StrField" sortMissingLast="true"
> docValues="true"/>
>
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-
> tp4352338p4352442.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message