Comments (4)
Are you setting the parent value on the images? In the demo it uses $this->setParent($user->getId())
from search.
The other thing to watch out for is that if the parent object does not have an id value the routing will fail.
from search.
Thank you for you reply!
It works now, it seems that the field, which contains the parent id in the Images entity must have exactly the name $_parent. it was $photographer before and it didn't work.
from search.
OK there is a way you can use the annotation attribute as @MAP\Parameter(name="_parent")
if you want and then you should be able to use any member name.
from search.
Related Issues (20)
- Add support for "attachment" type
- Add support for "ip" type
- Can I use Doctrine Paginator with the Search query HOT 9
- Support for "null_value" field attribute
- Support for "term_vector" field attribute
- Support for root object type mapping
- Support for Update API HOT 3
- Use filtered queries instead of setFilter() in ElasticSearch client
- Remove implementation of ZendLucene
- Neo4j support? HOT 2
- Refactoring annotations into more specific 'types' HOT 1
- Implement XML mapping support
- FOSElasticaBundle overlap? HOT 3
- Are there any contributing guidelines ? HOT 1
- Specifying the index HOT 7
- Status updates? HOT 3
- The annotation does not exist, or could not be auto-loaded. HOT 1
- Get `hits` for the query HOT 1
- Project still alive? HOT 4
- Delete from Query, Elastica dependencies. HOT 2
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 search.