[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Solr parsing query: Non ended comments inside comment does not work as expected
From:       Runar Espeland <Runar.Espeland () forsta ! com ! INVALID>
Date:       2024-05-14 12:40:58
Message-ID: CH3PR12MB8281F87949C5BD8693C396DFF8E32 () CH3PR12MB8281 ! namprd12 ! prod ! outlook ! com
[Download RAW message or body]


Solr parsing non-ended comments inside comment, does not work as expected.
If there are non-ended comments inside a comment. Then it will treat traili=
ng words as comments

Examples
samsung /* Motorola iphone */  -- > works. As expected
samsung /* motorola /* iphone */ ) -->  works.   Not as expected. Ignores t=
railing ')'
( samsung /* motorola /* iphone */ nokia ) -- > fails. Not as expected.  Be=
cause of starting '('.  Ended ')' is ignored. Since it is read as a comment=
.


Is this a bug ?

Versions:
Solr-spec 8.11.1
Lucene-spec 8.11.1


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic