Re: Not storing, but highlighting from document sentences

2011-01-18 Thread Ahson Iqbal
is much difficult to tackle. Regards Ahsan From: Otis Gospodnetic To: solr-user@lucene.apache.org Sent: Tue, January 18, 2011 12:25:12 PM Subject: Re: Not storing, but highlighting from document sentences Hi Tarjei, :) Yeah, that is the solution we are going

Re: Not storing, but highlighting from document sentences

2011-01-17 Thread Otis Gospodnetic
Sent: Tue, January 18, 2011 1:33:44 AM > Subject: Re: Not storing, but highlighting from document sentences > > On 01/12/2011 12:02 PM, Otis Gospodnetic wrote: > > Hello, > > > > I'm indexing some content (articles) whose text I cannot store in its >original > >

Re: Not storing, but highlighting from document sentences

2011-01-17 Thread Tarjei Huse
On 01/12/2011 12:02 PM, Otis Gospodnetic wrote: > Hello, > > I'm indexing some content (articles) whose text I cannot store in its > original > form for copyright reason. So I can index the content, but cannot store it. > However, I need snippets and search term highlighting. > > > Any way t

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
Hi Tomislav, > if I understand correctly, you are suggesting query execution in two > phases: first execute query on whole article index core (where whole > articles are indexed, but not stored) to get article IDs (for articles > which match original query). Then for each match in article core: >

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
> > I think you can get what you want by doing the first stage retrieval, > > and then in the second stage, add required constraint(s) to the query > > for the matching docid(s), and change the AND operators in the > > original query to OR. Coordination will cause the best snippet(s) to > > rise

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Tomislav Poljak
he second stage once for each hit from the first > stage, though, unless you can afford to collect *all* hits and pull out each > first stage's hit from the intermixed second stage results... > > Steve > >> -Original Message- >> From: Otis Gospodnetic [mailt

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Otis Gospodnetic
Hi Steve, - Original Message > From: Steven A Rowe > Subject: RE: Not storing, but highlighting from document sentences > > I think you can get what you want by doing the first stage retrieval, and > then >in the second stage, add required constraint(s) to

RE: Not storing, but highlighting from document sentences

2011-01-12 Thread Steven A Rowe
Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] > Sent: Wednesday, January 12, 2011 7:29 AM > To: solr-user@lucene.apache.org > Subject: Re: Not storing, but highlighting from document sentences > > Hi Stefan, > > Yes, splitting in separate sentences (and storing them) is OK because wi

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Otis Gospodnetic
his should match original articles even if foo and bar are in different sentences. Otis - Original Message > From: Stefan Matheis > To: solr-user@lucene.apache.org > Sent: Wed, January 12, 2011 7:02:46 AM > Subject: Re: Not storing, but highlighting from document sentence

Re: Not storing, but highlighting from document sentences

2011-01-12 Thread Stefan Matheis
Otis, just interested in .. storing the full text is not allowed, but splitting up in separate sentences is okay? while you think about using the sentences only as secondary/additional source, maybe it would help to search in the sentences itself, or would that give misleading results in your cas