Hey your are right,
I'm trying to migrate my app to solr. For the moment I am using solr for the
searching part of the app but i am using my own lucene app for indexing,
Shoud have posted in lucene forum for this trouble. Sorry about that.
Iam trying to use termdocs properly now.
Thanks for your a
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
Hey there,
I never run out of memory but I think the app always run to the limit... The
problem seems to be in here (searching by term):
try {
indexSearcher = new IndexSearcher(path_index) ;
QueryParser queryParser = new QueryParser("id_field",
getAnalyzer(stop
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
Hey there,
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
almost the whole memory...
Did u find any other way to do that?
J
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
Thanks Otis, but since I'm working on my own RequestHandler I need the
actual code that I should execute on the SolrIndexSearcher or IndexReader to
get the document.
Right now I'm doing the following:
public Document getDocumentByUniqueKey(String id,
SolrIndexSearcher searcher, Ind
Jonathan, http://./.?q=: should be
fine.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Jonathan Ariel <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Monday, October 20, 2008 11:09:35 AM
> Subject: Getting a docume
10 matches
Mail list logo