Re: how to do a Parent/Child Mapping using entities

2010-01-02 Thread Lance Norskog
[Ryan McKinley] For starters, the order of multi-valued fields should be maintained, so if you have: Wait! I thougt documents and fields are sets in the Lucene index - order is not preserved. On Thu, Dec 31, 2009 at 7:47 PM, Chris Hostetter wrote: > > : You could easily write your own query pars

Re: how to do a Parent/Child Mapping using entities

2009-12-31 Thread Chris Hostetter
: You could easily write your own query parser (QParserPlugin, in Solr's : terminology) that internally translates queries like : :q = res_url:url AND res_rank:rank : : into : q = res_ranked_url:"rank url" : : thus hiding the res_ranked_url field from the user/client. : : I'm not

Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread Sascha Szott
Hi, Thanks Sascha for your post, but i find it interresting, but in my case i don't want to use an additionnal field, i want to be able with the same schema to do a simple query like : "q=res_url:some url", and a query like the other one; You could easily write your own query parser (QParserPlug

Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread Ryan McKinley
solr consider this when executing queries. Any helps please; and thanks for all :) -- View this message in context: http://old.nabble.com/how-to-do-a-Parent-Child-Mapping-using-entities-tp26956426p26965478.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to do a Parent/Child Mapping using entities

2009-12-30 Thread magui
; >> >> But this is not true; because the url present in the 1st position in the >> results of the keyword "key1" is url1 and not url2. >> So what i want to say is : is there any solution to make the values of >> the >> "multivalued" fields linked; >> so in our case we can see that the previous result say that: >> - url1 is present in 1st position of "key1" results >> - url2 is present in 2nd position of "key1" results >> - url3 is present in 3rd position of "key1" results >> - url4 is present in 4th position of "key1" results >> >> and i would like that solr consider this when executing queries. >> >> Any helps please; and thanks for all :) > > > -- View this message in context: http://old.nabble.com/how-to-do-a-Parent-Child-Mapping-using-entities-tp26956426p26965478.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to do a Parent/Child Mapping using entities

2009-12-29 Thread Sascha Szott
Hi, you could create an additional index field res_ranked_url that contains the concatenated value of an url and its corresponding rank, e.g., res_rank + " " + res_url Then, q=res_ranked_url:"1 url1" retrieves all documents with url1 as the first url. A drawback of this wor

how to do a Parent/Child Mapping using entities

2009-12-29 Thread magui
resent in 2nd position of "key1" results - url3 is present in 3rd position of "key1" results - url4 is present in 4th position of "key1" results and i would like that solr consider this when executing queries. Any helps please; and thanks for all :) -- View th