DIH - $deleteDocById

2010-06-25 Thread Ingar Hov
I seem to have a hard time to get $deleteDocById to work with the XPathEntityProcessor. Anyone tested it and got it to work? Here's a snippet of the code: -- .. .. .. Whenever I try to run a delta-import with a document that should delete from the index it only updates the document in the ind

Re: Build solr with Maven

2012-03-28 Thread Ingar Hov
Is there any good reason for keeping solr_home within the webapp? It should work, but I would not recommend it. Have you configured solr_home somewhere? One way in Tomcat is to do something like this: -- -- in either: $tomcat_home/conf/Catalina/localhost/solr.xml or in $tomcat_home/conf/ser

Re: Build solr with Maven

2012-03-29 Thread Ingar Hov
olution here but a tomcat configuration is out of the question. > I was hoping there was some way to set this via mavens pom.xml or something > like that. > > -Original Message- > From: Ingar Hov [mailto:ingar@gmail.com] > Sent: 28. mars 2012 18:48 > To: solr-user@l

Re: Build solr with Maven

2012-03-29 Thread Ingar Hov
t; Tried that, but I guess I am doing it wrong somehow with the paths. > > The home folder should be WEB-INF/solr inside the tomcat. But how would I > set that path correctly? Do I need to use absolute paths? > > -Original Message- > From: Ingar Hov [mailto:ingar@gmail.c

Re: Group.query

2012-09-26 Thread Ingar Hov
I hope I understood the question, if so this may be a solution: Why don't you make the field group for product multiple? Example: If the product is a member of group1 and group2, just add both for the product document so that each product has an array of group. Then you can easily get all prod

Re: RE: Group.query

2012-09-26 Thread Ingar Hov
;> belong to several groups. >> Would it be possible to generate a query which would return the >> groups, each with a list of the buckets? >> >> Example result, with 3 groups, and several products (which may occur >> in several groups). >> >> Children_sand_toys >> C

Re: RE: Group.query

2012-09-26 Thread Ingar Hov
Disregard my previous post I think I misunderstood. Johannes is right. Facet is the solution. Where group = Children_sand_toys, Boys_toys, Girls_toys q=bucket&facet=true&facet.field=group&wt=xml Regards, Ingar On Wed, Sep 26, 2012 at 1:00 PM, Ingar Hov wrote: > Loo