SolrBundle icon indicating copy to clipboard operation
SolrBundle copied to clipboard

New master-dev error

Open hanzx opened this issue 8 years ago • 4 comments

Hi, you do some changes and solr not work;

old version query :

omitHeader=true wt=json json.nl=flat q=*:* start=0 rows=12 fl= sort=random_3225 ASC fq=sta:1

after composer update : there is automatic add ** fq=id:product_* **

omitHeader=true wt=json json.nl=flat q=*:* start=0 rows=12 fl= sort=random_3225 ASC fq=sta:1 fq=id:product_*

hanzx avatar Nov 07 '16 07:11 hanzx

You can remove the new id filter query and add the document-limitation as custom-query:

$query->setCustomQuery('id:product_*');
$query->removeFilterQuery('id');

floriansemm avatar Nov 07 '16 09:11 floriansemm

I have tried your suggestion but the problem is still there.

muganda avatar Nov 11 '16 21:11 muganda

does omitHeader=true wt=json json.nl=flat q=*:* start=0 rows=12 fl= sort=random_3225 ASC fq=sta:1 works for you?

floriansemm avatar Nov 14 '16 09:11 floriansemm

@muganda ping

floriansemm avatar Dec 06 '16 08:12 floriansemm