You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Neha Gupta <ne...@uni-jena.de> on 2022/05/03 09:45:41 UTC
Re: Problem with indexing a String field in SOLR.
Hello Thamizh,
There is no problem with the underscore as other fields with underscore
are getting properly indexed and stored.
Regards
Neha Gupta
On 29/04/2022 09:32, Thamizh Azhagan wrote:
> Hi Neha,
>
> Please bear me with this basic question. You said that you were able
> to index with the name "hcn" but not with "host_common_name". Is there
> any problem with underscore..Did you use any other field with
> underscore which is indexing successfully?
>
> Thanks,
> Thamizh
>
>
> On Fri, Apr 29, 2022 at 1:46 AM Neha Gupta <ne...@uni-jena.de> wrote:
>
> Hello Allessandro,
>
> I indexed field with same name but in the different core.
>
> I am not using dynamic fields and schema is as below.
>
> Thanks
>
> Neha Gupta
>
> On 28/04/2022 16:37, Alessandro Benedetti wrote:
>> Hi Neha,
>> My shot in the dark:
>> Have you indexed any document containing that field?
>>
>> Are you using dynamic fields? (exact field name should have
>> priority over dynamic fields, but just to double-check).
>> Can you show us your schema? (at least the part related to that
>> definition?)
>>
>> Cheers
>> --------------------------
>> *Alessandro Benedetti*
>> CEO @ Sease Ltd.
>> /Apache Lucene/Solr Committer/
>> /Apache Solr PMC Member/
>>
>> e-mail: a.benedetti@sease.io/
>> /
>>
>> *Sease* - Information Retrieval Applied
>> Consulting | Training | Open Source
>>
>> Website: Sease.io <http://sease.io/>
>> LinkedIn <https://linkedin.com/company/sease-ltd> | Twitter
>> <https://twitter.com/seaseltd> | Youtube
>> <https://www.youtube.com/channel/UCDx86ZKLYNpI3gzMercM7BQ> |
>> Github <https://github.com/seaseltd>
>>
>>
>> On Wed, 27 Apr 2022 at 22:54, Neha Gupta <ne...@uni-jena.de>
>> wrote:
>>
>> Dear Solr Community,
>>
>> I have a very weird situation with SOLR indexing and even
>> after spending a day i am not able to find a proper reason so
>> i request for your help.
>>
>> I tried to index a string field by name "host_common_name". I
>> created the field in the schema (schema got updated as well)
>> via SOLR Admin GUI and after data import this field seems to
>> be not getting indexed.
>>
>> After searching i found out that in the Admin GUI, if i
>> select this field then only Properties values are being shown
>> while for other fields which are getting properly indexed
>> along with properties, schema and indexed information is also
>> shown.
>>
>>
>>
>>
>>
>> I tried several ways like deleting the whole schema and then
>> creating the new one and so no but still this field with this
>> name is not getting indexed.
>>
>> At last just as a try i created a different field with
>> different name "hcn" and with this name field is getting
>> indexed and in Admin Gui all values are being shown like
>> properties, schema and so on.
>>
>>
>> So i was just wondering what can be the issue with the name
>> "host_common_name". Did anyone came across similar issue? and
>> would like to share some information on this.
>>
>> Thanks in advance for all the help this community always offers.
>>
>>
>> Regards
>> Neha Gupta
>>
>
>
> --
> Thanks & Regards,
> Thamizh