Re: DIH: HTMLStripTransformer in sub-entities?

2013-07-06 Thread Andy Pickler
That's exactly what turned out to be the problem. We thought we had already tried that permutation but apparently hadn't. I know it's obvious in retrospect. Thanks for the suggestion. Thanks, Andy Pickler On Wed, Jul 3, 2013 at 2:38 PM, Alexandre Rafalovitch wrote: > On Tue, Jul 2, 2013 at 10

Re: DIH: HTMLStripTransformer in sub-entities?

2013-07-03 Thread Alexandre Rafalovitch
On Tue, Jul 2, 2013 at 10:59 AM, Andy Pickler wrote: > SELECT > br.other_content AS replyContent > FROM block_reply > "> > *THIS DOESN'T WORK!* > shouldn't it be column="replyContent" since you are renaming it in SELECT? Regards, Alex. Personal website: http://www.ou

Re: DIH: HTMLStripTransformer in sub-entities?

2013-07-02 Thread Gora Mohanty
On 2 July 2013 20:55, Andy Pickler wrote: > Thanks for the quick reply. Unfortunately, I don't believe my company > would want me sharing our exact production schema in a public forum, > although I realize it makes it harder to diagnose the problem. The > sub-entity is a multi-valued field that

Re: DIH: HTMLStripTransformer in sub-entities?

2013-07-02 Thread Andy Pickler
ly, while it seems to be working fine for "top-level" > entities, > > we can't seem to get it to work for sub-entities: > > > > (not exact schema, reduced for example purposes) > > Please do not do that. This DIH configuration file does > not make sens

Re: DIH: HTMLStripTransformer in sub-entities?

2013-07-02 Thread Gora Mohanty
http://wiki.apache.org/solr/DataImportHandler#HTMLStripTransformer). > Unfortunately, while it seems to be working fine for "top-level" entities, > we can't seem to get it to work for sub-entities: > > (not exact schema, reduced for example purposes) Please do not do that. This

DIH: HTMLStripTransformer in sub-entities?

2013-07-02 Thread Andy Pickler
, while it seems to be working fine for "top-level" entities, we can't seem to get it to work for sub-entities: (not exact schema, reduced for example purposes) *THIS WORKS!* *THIS DOESN'T WORK!* We've tried several different permutations of putting the

RE: solr-dih does multiple queries for sub-entities

2013-03-04 Thread harpax
ml'", "query", " SELECT id, b FROM a_table WHERE id = 'report-1358168401817.xml'", "query", " SELECT id, b FROM a_table WHERE id = 'report-1358168401817.xml'", "time-taken", "0:0:0.297", "time-taken", "0:0:0.297", "time-taken", "0:0:0.297", "time-taken", "0:0:0.297", null, "--- row #1-", "ID", "report-1358168401817.xml", "B", "some data", "-", null, ] ], -- View this message in context: http://lucene.472066.n3.nabble.com/solr-dih-does-multiple-queries-for-sub-entities-tp4044522p4044552.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: solr-dih does multiple queries for sub-entities

2013-03-04 Thread Dyer, James
[mailto:a.psczo...@pan-sonic.de] Sent: Monday, March 04, 2013 8:49 AM To: solr-user@lucene.apache.org Subject: solr-dih does multiple queries for sub-entities Hi, I am trying to use the DIH for crawling over some xml-files and xpathing them and then access a db with the filename as a key. That works, but

solr-dih does multiple queries for sub-entities

2013-03-04 Thread harpax
-- -- -- View this message in context: http://lucene.472066.n3.nabble.com/solr-dih-does-multiple-queries-for-sub-entities-tp4044522.html Sent from the Solr - User mailing list

Re: Sub entities

2011-04-18 Thread remi.vanb
Hello, I had the same problem, only the first result was indexed in the sub-entity, but was solved by setting the 'multiValued' attribute to "true" on the field in schema.xml -- View this message in context: http://lucene.472066.n3.nabble.com/Sub-entities-tp2598369p283772

Re: Sub entities

2011-03-01 Thread Brian Lamb
Thanks for the help Stefan. It seems removing column="specie" fixed it. On Tue, Mar 1, 2011 at 11:18 AM, Stefan Matheis < matheis.ste...@googlemail.com> wrote: > Brian, > > On Tue, Mar 1, 2011 at 4:52 PM, Brian Lamb > wrote: > > > indexed="true" stored="true" required="false" /> > > Not sure, b

Re: Sub entities

2011-03-01 Thread Stefan Matheis
Brian, On Tue, Mar 1, 2011 at 4:52 PM, Brian Lamb wrote: > indexed="true" stored="true" required="false" /> Not sure, but iirc in this context has no column-Attribute .. that should normally not break your solr-configuration. Are you sure, that your animal has multiple species assigned? Check

Re: Sub entities

2011-03-01 Thread Brian Lamb
Yes, it looks like I had left off the field (misspelled it actually). I reran the full import and the fields did properly show up. However, it is still not working as expected. Using the example below, a result returned would only list one specie instead of a list of species. I have the following i

Re: Sub entities

2011-03-01 Thread Stefan Matheis
Brian, except for your sql-syntax error in the specie_relations-query "SELECT specie_id FROMspecie_relations .." (missing whitespace after FROM) your config looks okay. following questions: * is there a field named specie in your schema? (otherwise dih will silently ignore it) * did you check you

Sub entities

2011-02-28 Thread Brian Lamb
Hi all, I was able to get my dataimport to work correctly but I'm a little unclear as to how the entity within an entity works in regards to search results. When I do a search for all results, it seems only the outermost responses are returned. For example, I have the following in my db config fil