Good point... if this is a Solr plugin, then get the SolrIndexSearcher
> from the request object.
> If it's not Solr, then use termenum/termdocs (and post to the right list
> ;-)
>
> -Yonik
>
>
--
View this message in context:
http://www.nabble.com/Getting-a-docu
On Mon, Nov 3, 2008 at 2:49 PM, Otis Gospodnetic
<[EMAIL PROTECTED]> wrote:
> Is this your code or something from Solr?
> That indexSearcher = new IndexSearcher(path_index) ; is very suspicious
> looking.
Good point... if this is a Solr plugin, then get the SolrIndexSearcher
from the request obje
Solr - Nutch
- Original Message
> From: Marc Sturlese <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, November 3, 2008 2:40:00 PM
> Subject: Re: Getting a document by primary key
>
>
> Hey there,
> I never run out of memory but I th
On Mon, Nov 3, 2008 at 2:40 PM, Marc Sturlese <[EMAIL PROTECTED]> wrote:
> As hits is deprecated I tried to use termdocs and top docs...
Try using searcher.getFirstMatch(t) as Jonathan is. It should be
faster than Hits.
> but the memory
> problem never disapeared...
> If I call the garbage colle
>> almost the whole memory...
>
> That just sounds like the way Java's garbage collection tends to
> work... do you ever run out of memory (and get an exception)?
>
> -Yonik
>
>
--
View this message in context:
http://www.nabble.com/Getting-a-document-
On Sun, Nov 2, 2008 at 8:09 PM, Marc Sturlese <[EMAIL PROTECTED]> wrote:
> I am doing the same and I am experimenting some trouble. I get the document
> data searching by term. The problem is that when I do it several times
> (inside a huge for) the app starts increasing the memory use until I use
; Sorry if it's a basic question.
>
> Thanks!
>
> Jonathan
>
>
--
View this message in context:
http://www.nabble.com/Getting-a-document-by-primary-key-tp20072108p20295436.html
Sent from the Solr - User mailing list archive at Nabble.com.
gt; From: Jonathan Ariel <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, October 20, 2008 11:39:33 AM
> Subject: Re: Getting a document by primary key
>
> Thanks Otis, but since I'm working on my own RequestHandler I need the
> actual code that I shoul
> > From: Jonathan Ariel <[EMAIL PROTECTED]>
> > To: solr-user@lucene.apache.org
> > Sent: Monday, October 20, 2008 11:09:35 AM
> > Subject: Getting a document by primary key
> >
> > I'm developing my own request handler and given a document primary
Subject: Getting a document by primary key
>
> I'm developing my own request handler and given a document primary key I
> would like to get it from the index.
> Which is the best and fastest way to do this? I will execute this request
> handler several times and this should wor
I'm developing my own request handler and given a document primary key I
would like to get it from the index.
Which is the best and fastest way to do this? I will execute this request
handler several times and this should work really fast.
Sorry if it's a basic question.
Thanks!
Jonathan
11 matches
Mail list logo