Comments (13)
@plozmun Are you using Solr in your app? Filter service is not using Solr search engine to fetch the content, while eZ Search service does. This might be the cause of the discrepancy in results between filter service and search service. To verify if that is the case, you can try using find service from this package and see what results you get with it. Find service is basically the same thing as filter service, but uses Solr as a backend instead of the database.
If that doesn't help, one other reason could be is that filter and find services automatically filter content and locations based on prioritized list of languages configured for the current siteaccess, which, again, search service from eZ does not.
from ezplatform-site-api.
No, i don't use Solr in the app. Then i can't use findService without Solr? With findService it works properly.
I have overide parameter:
netgen.ezplatform_site.prioritized_languages:
- 'esl-ES'
- 'eng-GB'
but this does't work either
from ezplatform-site-api.
You can use find service even if you don't use Solr. Find service actually falls back to legacy if no Solr is present. I'm not sure why it gives different results from filter service if you don't use Solr. @pspanja do you have a clue why this would happen?
BTW, you should not override the netgen.ezplatform_site.prioritized_languages
parameter, it is used internally and not meant to be configured directly.
from ezplatform-site-api.
@plozmun I've noticed in one case you use filterLocations()
and in other findContent()
.
Is there any change in behavior if you search for the same on both sides, filterLocations()
and findLocations()
or filterContent()
and findContent()
?
from ezplatform-site-api.
I have try with filterContent and findContent and it`s the same.
It's strange because PermissionCriterionResolver returns false with filterService and true with ez Searchservice
from ezplatform-site-api.
I realized it's our fault. Close this issue. Sorry for the inconvenience .
Thank you
from ezplatform-site-api.
No worries @plozmun, good to know that you solved the problem 👍
from ezplatform-site-api.
i reopen it , sorry 😆
I dont know why the UserReference used by filter service is
UserReference {#1467 ▼
-userId: 10
}
and admin is:
UserReference {#854 ▼
-userId: 14
}
Do you know why?
from ezplatform-site-api.
That is coming from eZ Platform kernel, in default installation ID=10 is anonymous and ID=14 is admin. Are you testing that with different logins?
from ezplatform-site-api.
Nope, 😢
from ezplatform-site-api.
@plozmun We have identified the issue, however, it will take a couple of days to solve it as it is not really straightforward, so please be patient :)
from ezplatform-site-api.
Here we go: #67
@plozmun your feedback would be much appreciated!
from ezplatform-site-api.
Fixed by #67
@plozmun thanks for reporting this!
from ezplatform-site-api.
Related Issues (11)
- Mapping a field takes the wrong ID HOT 1
- Anonymous users do not have access to content.owner property HOT 1
- PagerFanta adapters and facets HOT 2
- How about a `findSingle` method on the findService to mimic `searchService` HOT 2
- No view template found for custom viewtype in latest ez platform version HOT 6
- Add `url_alias` property to `Location` HOT 12
- Release version 3 HOT 1
- MatcherFactory Broken with ezplatform v3 HOT 2
- Problem on controller content preview override HOT 1
- Make bundle compatible with sensio/framework-extra-bundle ^6.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ezplatform-site-api.