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 ufuk yılmaz <uy...@vivaldi.net.INVALID> on 2021/02/16 15:16:27 UTC
Meaning of "Index" flag under properties and schema
There’s a collection at our customer’s site giving weird exceptions when a particular field is involved (asked another question detailing that).
When I inspected it, there’s only one difference between it and other dozens of fine working collections, which is,
A text_general field in all other collections has the above configuration without my artsy paint edits, but only that problematic collection has an “index” flag with indexed tokenized and stored checked. I never saw this “Index” flag before. What does it mean?
Sent from Mail for Windows 10
Re: Meaning of "Index" flag under properties and schema
Posted by Alexandre Rafalovitch <ar...@gmail.com>.
I wonder if looking more directly at the indexes would allow you to
get closer to the problem source.
Have you tried comparing/exploring the indexes with Luke? It is in the
Lucene distribution (not Solr), and there is a small explanation here:
https://mocobeta.medium.com/luke-become-an-apache-lucene-module-as-of-lucene-8-1-7d139c998b2
Regards,
Alex.
On Wed, 17 Feb 2021 at 16:58, Vivaldi <uy...@vivaldi.net.invalid> wrote:
>
> I was getting “illegal argument exception length must be >= 1” when I used significantTerms streaming expression, from this collection and field. I asked about that as a separate question on this list. I will get the whole exception stack trace the next time I am at the customer site.
>
> Why any other field in other collections doesn’t have that flag? We have numerous indexed, non-indexed, docvalues fields in other collections but not that row
>
> Sent from my iPhone
>
> > On 16 Feb 2021, at 20:42, Shawn Heisey <ap...@elyograg.org> wrote:
> >
> >> On 2/16/2021 9:16 AM, ufuk yılmaz wrote:
> >> I didn’t realise that, sorry. The table is like:
> >> Flags Indexed Tokenized Stored UnInvertible
> >> Properties Yes Yes Yes Yes
> >> Schema Yes Yes Yes Yes
> >> Index Yes Yes Yes NO
> >> Problematic collection has a Index row under Schema row. No other collection has it. I was asking about what the “Index” meant
> >
> > I am not completely sure, but I think that row means the field was found in the actual Lucene index.
> >
> > In the original message you mentioned "weird exceptions" but didn't include any information about them. Can you give us those exceptions, and the requests that caused them?
> >
> > Thanks,
> > Shawn
>
Re: Meaning of "Index" flag under properties and schema
Posted by Vivaldi <uy...@vivaldi.net.INVALID>.
I was getting “illegal argument exception length must be >= 1” when I used significantTerms streaming expression, from this collection and field. I asked about that as a separate question on this list. I will get the whole exception stack trace the next time I am at the customer site.
Why any other field in other collections doesn’t have that flag? We have numerous indexed, non-indexed, docvalues fields in other collections but not that row
Sent from my iPhone
> On 16 Feb 2021, at 20:42, Shawn Heisey <ap...@elyograg.org> wrote:
>
>> On 2/16/2021 9:16 AM, ufuk yılmaz wrote:
>> I didn’t realise that, sorry. The table is like:
>> Flags Indexed Tokenized Stored UnInvertible
>> Properties Yes Yes Yes Yes
>> Schema Yes Yes Yes Yes
>> Index Yes Yes Yes NO
>> Problematic collection has a Index row under Schema row. No other collection has it. I was asking about what the “Index” meant
>
> I am not completely sure, but I think that row means the field was found in the actual Lucene index.
>
> In the original message you mentioned "weird exceptions" but didn't include any information about them. Can you give us those exceptions, and the requests that caused them?
>
> Thanks,
> Shawn
Re: Meaning of "Index" flag under properties and schema
Posted by Shawn Heisey <ap...@elyograg.org>.
On 2/16/2021 9:16 AM, ufuk yılmaz wrote:
> I didn’t realise that, sorry. The table is like:
>
> Flags Indexed Tokenized Stored UnInvertible
>
> Properties Yes Yes Yes Yes
> Schema Yes Yes Yes Yes
> Index Yes Yes Yes NO
>
> Problematic collection has a Index row under Schema row. No other collection has it. I was asking about what the “Index” meant
I am not completely sure, but I think that row means the field was found
in the actual Lucene index.
In the original message you mentioned "weird exceptions" but didn't
include any information about them. Can you give us those exceptions,
and the requests that caused them?
Thanks,
Shawn
RE: Meaning of "Index" flag under properties and schema
Posted by ufuk yılmaz <uy...@vivaldi.net.INVALID>.
I didn’t realise that, sorry. The table is like:
Flags Indexed Tokenized Stored UnInvertible
Properties Yes Yes Yes Yes
Schema Yes Yes Yes Yes
Index Yes Yes Yes NO
Problematic collection has a Index row under Schema row. No other collection has it. I was asking about what the “Index” meant
-ufuk
Sent from Mail for Windows 10
From: Charlie Hull
Sent: 16 February 2021 18:48
To: solr-user@lucene.apache.org
Subject: Re: Meaning of "Index" flag under properties and schema
This list strips attachments so you'll have to figure out another way to
show the difference,
Cheers
Charlie
On 16/02/2021 15:16, ufuk yılmaz wrote:
>
> There’s a collection at our customer’s site giving weird exceptions
> when a particular field is involved (asked another question detailing
> that).
>
> When I inspected it, there’s only one difference between it and other
> dozens of fine working collections, which is,
>
> A text_general field in all other collections has the above
> configuration without my artsy paint edits, but only that problematic
> collection has an “index” flag with indexed tokenized and stored
> checked. I never saw this “Index” flag before. What does it mean?
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
--
Charlie Hull - Managing Consultant at OpenSource Connections Limited
<www.o19s.com>
Founding member of The Search Network <https://thesearchnetwork.com/>
and co-author of Searching the Enterprise
<https://opensourceconnections.com/about-us/books-resources/>
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828
Re: Meaning of "Index" flag under properties and schema
Posted by Charlie Hull <ch...@opensourceconnections.com>.
This list strips attachments so you'll have to figure out another way to
show the difference,
Cheers
Charlie
On 16/02/2021 15:16, ufuk yılmaz wrote:
>
> There’s a collection at our customer’s site giving weird exceptions
> when a particular field is involved (asked another question detailing
> that).
>
> When I inspected it, there’s only one difference between it and other
> dozens of fine working collections, which is,
>
> A text_general field in all other collections has the above
> configuration without my artsy paint edits, but only that problematic
> collection has an “index” flag with indexed tokenized and stored
> checked. I never saw this “Index” flag before. What does it mean?
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
--
Charlie Hull - Managing Consultant at OpenSource Connections Limited
<www.o19s.com>
Founding member of The Search Network <https://thesearchnetwork.com/>
and co-author of Searching the Enterprise
<https://opensourceconnections.com/about-us/books-resources/>
tel/fax: +44 (0)8700 118334
mobile: +44 (0)7767 825828