Re: strange behavior of solr query parser

2020-03-02 Thread Hongtai Xue
/bf9db95f218f49bac8e7971eb953a9fd9d13a2f0#diff-269ae02e56283ced3ce781cce21b3147R563 sincerely hongtai 送信元: "Staley, Phil R - DCF" Reply-To: "dev@lucene.apache.org" 日付: 2020年3月2日 月曜日 22:38 宛先: solr_user lucene_apache , "dev@lucene.apache.org" 件名: Re: strange behavior of solr query parser

Re: strange behavior of solr query parser

2020-03-02 Thread Erick Erickson
e our new solr user just happened to find it, and after doing some > digging, > we think we should report it to community. > > Thanks > > hongtai > > 送信元: Jan Høydahl > Reply-To: "dev@lucene.apache.org" > 日付: 2020年3月3日 火曜日 0:09 > 宛先: "dev@lucene.ap

Re: strange behavior of solr query parser

2020-03-02 Thread Hongtai Xue
hongtai 送信元: Jan Høydahl Reply-To: "dev@lucene.apache.org" 日付: 2020年3月3日 火曜日 0:09 宛先: "dev@lucene.apache.org" 件名: Re: strange behavior of solr query parser The *_str variant produced by the _default configset is DocValues only, as thus intended primarily for faceting and so

Re: strange behavior of solr query parser

2020-03-02 Thread Erick Erickson
behavior of solr query parser. In some specific cases, some conditional clauses on unindexed field will be ignored. for query like, q=A:1 OR B:1 OR A:2 OR B:2 if field B is not indexed(but docValues="true"), "B:1" will be lost. but if you write query like, q=A:1

Re: strange behavior of solr query parser

2020-03-02 Thread Jan Høydahl
The *_str variant produced by the _default configset is DocValues only, as thus intended primarily for faceting and sorting. Try changing this line in your schema > >> but if you write query like, q=A:1 OR A:2 OR B:1 OR B:2, >> it will work perfect. >> >> the only difference of two queries

Re: strange behavior of solr query parser

2020-03-02 Thread Erick Erickson
tai Xue wrote: > >  > Hi, > > Our team found a strange behavior of solr query parser. > In some specific cases, some conditional clauses on unindexed field will be > ignored. > > for query like, q=A:1 OR B:1 OR A:2 OR B:2 > if field B is not indexed(but docV

Re: strange behavior of solr query parser

2020-03-02 Thread Staley, Phil R - DCF
lucene_apache Cc: dev@lucene.apache.org Subject: strange behavior of solr query parser Hi, Our team found a strange behavior of solr query parser. In some specific cases, some conditional clauses on unindexed field will be ignored. for query like, q=A:1 OR B:1 OR A:2 OR B:2 if field B

strange behavior of solr query parser

2020-03-02 Thread Hongtai Xue
Hi, Our team found a strange behavior of solr query parser. In some specific cases, some conditional clauses on unindexed field will be ignored. for query like, q=A:1 OR B:1 OR A:2 OR B:2 if field B is not indexed(but docValues="true"), "B:1" will be lost. but if you wri