Re: complex XML structure problem

2008-10-03 Thread Saša Mutić
e.apache.org > > Sent: Thursday, October 2, 2008 3:43:33 PM > > Subject: Re: complex XML structure problem > > > > Bok Otis, > > > > I was thinking about this approach, but was wondering if there is more > > elegant approach where I wouldn't have to re

Re: complex XML structure problem

2008-10-03 Thread Otis Gospodnetic
om: Saša Mutić <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Thursday, October 2, 2008 3:43:33 PM > Subject: Re: complex XML structure problem > > Bok Otis, > > I was thinking about this approach, but was wondering if there is more > elegant approach w

Re: complex XML structure problem

2008-10-02 Thread Saša Mutić
Bok Otis, I was thinking about this approach, but was wondering if there is more elegant approach where I wouldn't have to recreate logic for proximity and quoted complex queries (identification of neighbor hits and quote queries for highlighting and positioning on image). If nobody comes up with

Re: complex XML structure problem

2008-10-02 Thread Otis Gospodnetic
Bok Saša, It sounds like you need to keep per-word metadata, plus the raw content so you can full-text search it. If so, consider keeping the meta data elsewhere - e.g. different index, external DB, etc. For full-text search you probably want to index the full content, something like: article