Solr - index polygons from csv

2016-04-22 Thread Jan Nekuda
Hello guys, I use solr 6 for indexing data with points and polygons. I have a question about indexing polygons from csv file. I have configured type: and field I have tried to import this csv: kod_adresa,nazev_ulice,cislo_orientacni,cislo_domovni,polygon_mapa,nazev_obec,Nazev_cast_obce,kod_uli

Fwd: block join - search together at parent and childern

2017-03-16 Thread Jan Nekuda
Hi, I have a question for which I wasn't able to find a good solution. I have this structure of documents A |\ | \ B \ \ C \ \ \ D Document type A has fields id_number, date_from, date_to Document type C has fields first_name, surname, birthdate Docum

Re: block join - search together at parent and childern

2017-03-16 Thread Jan Nekuda
ild level: q={!parent ...}{!edismax qf='childF1 childF2' v=$chq}&chq=foo bar It's usually broken because child query might match parents which is not allowed. Thus, it's probably can solved by adding +type:child into chq. IIRC edismax supports lucene syntax. On Thu, Mar 16,

Re: block join - search together at parent and childern

2017-03-19 Thread Jan Nekuda
00 Mikhail Khludnev : > Hello Jan, > > What if you combine child and parent dismaxes like below > q={!edismax qf=$parentfields}foo bar {!parent ..}{!dismax qf=$childfields > v=$childclauses}&childclauses=foo bar +type:child&parentfields=...& > parentfields=... > > O

Re: block join - search together at parent and childern

2017-03-22 Thread Jan Nekuda
r much. This yields cross-matches, but you > probably don't bother about them. > > On Sun, Mar 19, 2017 at 11:58 AM, Jan Nekuda wrote: > > > Hi Michael, > > thank you for fast answer - I have tried it, but it's not exactly what I > > need. I hope that I under