Re: Adding field to query result

2015-07-08 Thread Maya G
Hey, Thanks for your response. Yes, I think what I'm looking for is a pseudo field. Is the "product" function a funtion query? I assume I can replace the the "product" function in an implementation of my own. BTW - is the score field a pseudo field? Maya -- View this message in context: htt

Adding field to query result

2015-07-08 Thread Maya G
Hello, I'm using solr 4.10. I'd like to know if it is possible to add a field only on query response and calculate its' value for the specific query. For example: Assume this is the document. 1 Toys 55 I would like the response to contain another field which its' value to be calculates from th

Re: Sorting documents by nested / child docs with FunctionQueries

2015-06-22 Thread Maya G
I've tried your solution and encountered a problem. My child document has a multi-valued field. When I query the doc by its' guid, all of the field's values are returned. When I use the join block query only one value is returned for the multi-value field. Do you have any suggestions? Thank you

How to add a new child to existing document?

2015-06-17 Thread Maya G
Hey, I'm trying to add a new child to an existing document. When I query for the child doc it doesn't return it . I'm using sole 4.105. Thank you, Maya -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-add-a-new-child-to-existing-document-tp4212365.html Sent from th