IndexWriteConfig ignored?

2012-04-16 Thread Clemens Wyss
We limit the memory consumption of our IndexWriters by setting RAMBufferSizeMB 
to 5MB (IndexWriterConfig.setRAMBufferSizeMB). 
Inspecting a heapdump unveils that I still have writers wich consume/retain 
more than 35MB!
How come?
Any help/advice appreciated
Clemens

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: IndexWriteConfig ignored?

2012-04-16 Thread Michael McCandless
RAM can be used in IndexWriter for other reasons: merge is running,
near-real-time reader was opened.

The RAMBufferSizeMB only applies to buffered postings (indexed documents)

If you turn on IndexWriter's infoStream, do you see output saying it's
flushing a new segment because RAM is > 5.0 MB?

Mike McCandless

http://blog.mikemccandless.com

On Mon, Apr 16, 2012 at 4:46 AM, Clemens Wyss  wrote:
> We limit the memory consumption of our IndexWriters by setting 
> RAMBufferSizeMB to 5MB (IndexWriterConfig.setRAMBufferSizeMB).
> Inspecting a heapdump unveils that I still have writers wich consume/retain 
> more than 35MB!
> How come?
> Any help/advice appreciated
> Clemens
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



a higher-level layer above lucene

2012-04-16 Thread Akos Tajti
Hi All,

I'm looking for a solution that hides the complexity and the low level
structure of Lucene (to make it much simpler to use). I came across the
Compass Project which looks pretty good. I just want to know if there are
any comparable solutions (I didn't find any). Do you know about such
solution?

Thanks in advance,
Ákos Tajti


Re: a higher-level layer above lucene

2012-04-16 Thread Erick Erickson
What kind of hiding are you interested in? Solr does a lot
of this...

Best
Erick

On Mon, Apr 16, 2012 at 1:37 PM, Akos Tajti  wrote:
> Hi All,
>
> I'm looking for a solution that hides the complexity and the low level
> structure of Lucene (to make it much simpler to use). I came across the
> Compass Project which looks pretty good. I just want to know if there are
> any comparable solutions (I didn't find any). Do you know about such
> solution?
>
> Thanks in advance,
> Ákos Tajti

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: a higher-level layer above lucene

2012-04-16 Thread Tajti Ákos
As far as I know Solr is a search server and the communication eith it  
is done through a RESTful API. What I need is a Java API that I can  
use programmatically.


Ákos Tajti


On 2012.04.16., at 19:58, Erick Erickson   
wrote:



What kind of hiding are you interested in? Solr does a lot
of this...

Best
Erick

On Mon, Apr 16, 2012 at 1:37 PM, Akos Tajti   
wrote:

Hi All,

I'm looking for a solution that hides the complexity and the low  
level
structure of Lucene (to make it much simpler to use). I came across  
the
Compass Project which looks pretty good. I just want to know if  
there are

any comparable solutions (I didn't find any). Do you know about such
solution?

Thanks in advance,
Ákos Tajti


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: a higher-level layer above lucene

2012-04-16 Thread Erick Erickson
To do what? You're asking very general questions that are
hard to answer simply because of the lack of any detail,
use cases, etc.

You might review:

http://wiki.apache.org/solr/UsingMailingLists

Best
Erick

On Mon, Apr 16, 2012 at 2:14 PM, Tajti Ákos  wrote:
> As far as I know Solr is a search server and the communication eith it is
> done through a RESTful API. What I need is a Java API that I can use
> programmatically.
>
> Ákos Tajti
>
>
>
> On 2012.04.16., at 19:58, Erick Erickson  wrote:
>
>> What kind of hiding are you interested in? Solr does a lot
>> of this...
>>
>> Best
>> Erick
>>
>> On Mon, Apr 16, 2012 at 1:37 PM, Akos Tajti  wrote:
>>>
>>> Hi All,
>>>
>>> I'm looking for a solution that hides the complexity and the low level
>>> structure of Lucene (to make it much simpler to use). I came across the
>>> Compass Project which looks pretty good. I just want to know if there are
>>> any comparable solutions (I didn't find any). Do you know about such
>>> solution?
>>>
>>> Thanks in advance,
>>> Ákos Tajti
>>
>>
>> -
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re:Re: a higher-level layer above lucene

2012-04-16 Thread gang.liu
you can use solrj as java client api for solr server.  it's simple and 
powerful. 


--
gang liu
email: liuga...@gmail.com



At 2012-04-17 02:14:25,"Tajti Ákos"  wrote:
>As far as I know Solr is a search server and the communication eith it  
>is done through a RESTful API. What I need is a Java API that I can  
>use programmatically.
>
>Ákos Tajti
>
>
>On 2012.04.16., at 19:58, Erick Erickson   
>wrote:
>
>> What kind of hiding are you interested in? Solr does a lot
>> of this...
>>
>> Best
>> Erick
>>
>> On Mon, Apr 16, 2012 at 1:37 PM, Akos Tajti   
>> wrote:
>>> Hi All,
>>>
>>> I'm looking for a solution that hides the complexity and the low  
>>> level
>>> structure of Lucene (to make it much simpler to use). I came across  
>>> the
>>> Compass Project which looks pretty good. I just want to know if  
>>> there are
>>> any comparable solutions (I didn't find any). Do you know about such
>>> solution?
>>>
>>> Thanks in advance,
>>> Ákos Tajti
>>
>> -
>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
>>
>
>-
>To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
>For additional commands, e-mail: java-user-h...@lucene.apache.org
>


Apply maven-shade-plugin on Lucene for uberjar packaging

2012-04-16 Thread hhuynh
Hello,

I'm thinking about using maven-shade-plugin to shade Lucene's classes into
my own jar. Just wondering if this has been done before or any yay or nay
regarding this setup?

Thank you,

Hung-

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Apply-maven-shade-plugin-on-Lucene-for-uberjar-packaging-tp3916094p3916094.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org