Solrj possible deadlock

2009-09-20 Thread pof
Hello, I was running a batch index the other day using the Solrj EmbeddedSolrServer when the process abruptly froze in it's tracks after running for about 4-5 hours and indexing ~400K documents. There were no document locks so it would seem likely that there was some kind of thread deadlock. I was

Re: Solrj possible deadlock

2009-09-23 Thread pof
I had the same problem again yesterday except the process halted after about 20mins this time. pof wrote: > > Hello, I was running a batch index the other day using the Solrj > EmbeddedSolrServer when the process abruptly froze in it's tracks after > running for about 4-5 h

Re: Solrj possible deadlock

2009-09-24 Thread pof
: > > do you have anything custom going on? > > The fact that the lock is in java2d seems suspicious... > > > On Sep 23, 2009, at 7:01 PM, pof wrote: > >> >> I had the same problem again yesterday except the process halted >> after about >> 20mins

EmbeddedSolrServer seperate process

2009-06-15 Thread pof
Hi, one question: Will EmbeddedSolrServer work on a seperate java process than the solr servlet(start.jar) as long as it is run on the same machine? Thanks. -- View this message in context: http://www.nabble.com/EmbeddedSolrServer-seperate-process-tp24046680p24046680.html Sent from the Solr -

Re: EmbeddedSolrServer seperate process

2009-06-15 Thread pof
It certain does, thank you. Shalin Shekhar Mangar wrote: > > On Tue, Jun 16, 2009 at 8:15 AM, pof wrote: > >> >> Hi, one question: Will EmbeddedSolrServer work on a seperate java process >> than the solr servlet(start.jar) as long as it is

Solr Jetty confusion

2009-06-17 Thread pof
Hi, I am currently trying to write a Jetty embedded java app that implements SOLR and uses SOLRJ by excepting posts telling it to do a batch index, or a deletion or what have you. At this point I am completely lost trying to follow http://wiki.apache.org/solr/SolrJetty . In my constructor I am doi

Re: Solr Jetty confusion

2009-06-18 Thread pof
other necessary system properties for my apps. So if your > problem turns out to be with the JNDI, sorry I won't be of much help. > Hope that helps... > > - Daryl. > > > On Thu, Jun 18, 2009 at 2:44 AM, pof wrote: > >> >> Hi, I am currently trying

Re: Solr Jetty confusion

2009-06-18 Thread pof
Development Team wrote: > > To specify the > solr-home I use a Java system property (instead of the JNDI way) since I > already have other necessary system properties for my apps. > Could you please give me a concrete example of how you did this? There is no example code or commandline example

Re: Solr Jetty confusion

2009-06-21 Thread pof
-home. > It should also compile regardless of how what container you deploy Solr > into. What exactly are you trying to do besides getting Solr to start in > Jetty? > > - Daryl. > > > > On Thu, Jun 18, 2009 at 9:58 PM, pof wrote: > >> >> >> Development

Sorlj when to commit?

2009-06-21 Thread pof
Hi, I am doing a large batch (thousands) of insertions to my index using an EmbeddedSolrServer. I was wondering how often should I use server.commit() as I am trying to avoid unecessary bottlenecks. Thanks, Brett. -- View this message in context: http://www.nabble.com/Sorlj-when-to-commit--tp2

Solrj no search results

2009-06-23 Thread pof
Hi, I'm using an EmbeddedSolrServer. Adding documents with the example jetty server example using this method worked fine: doc1.addField( "id", "id1"); doc1.addField( "name", "doc1"); doc1.addField( "price", 10); server.add(doc1) However now I have changed the schema.xml so I can use my own field

Solr document security

2009-06-24 Thread pof
Hi, I am wanting to add document-level security that works as following: An external process makes a query to the index, depending on their security allowences based of a login id a list of hits are returned minus any the user are meant to know even exist. I was thinking maybe a custom filter with

Re: Solr document security

2009-06-25 Thread pof
Thats what I was going to do originally, however what is stopping a user from simply running a search through http://localhost:8983/solr/admin/ of the index server? Norberto Meijome-6 wrote: > > On Wed, 24 Jun 2009 23:20:26 -0700 (PDT) > pof wrote: > >> >> Hi, I am

Re: Solr document security

2009-06-28 Thread pof
side even if the URL is > know. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: pof >> To: solr-user@lucene.apache.org >> Sent: Thursday, June 25, 2009 7:40:12 PM >> Subj

Re: Solr document security

2009-06-28 Thread pof
The custom dispatcher filter example on http://wiki.apache.org/solr/SolrSecurity seems to be what I need however I don't understand the code. Could someone break it down for me? Thanks. pof wrote: > > I want to use filtering or similar, any help? > > > Otis Gospodnetic wr

Getting hits in RequestHandler

2009-06-28 Thread pof
Hi, I am writing my own request handler and I was wondering how I go about get a list of hits back. Thanks. -- View this message in context: http://www.nabble.com/Getting-hits-in-RequestHandler-tp24248810p24248810.html Sent from the Solr - User mailing list archive at Nabble.com.

Deleting from SolrQueryResponse

2009-06-29 Thread pof
Hi, I was wondering if any has had luck deleting added documents to SolrQueryResponse? I am subclassing StandardRequestHandler and after I run the handle request body method (super.handleRequestBody(req, rsp);) I won't to filter out some of the hits. Thanks. Brett -- View this message in context

Re: Deleting from SolrQueryResponse

2009-06-30 Thread pof
This thread got buried last night, so... bump. pof wrote: > > Hi, I was wondering if any has had luck deleting added documents from > SolrQueryResponse? I am subclassing StandardRequestHandler and after I run > the handle request body method (super.handleRequestBody(req, rsp);)

Re: Deleting from SolrQueryResponse

2009-07-02 Thread pof
hossman wrote: > > one thing to keep in mind however is that post-processing a DocList to > filter stuff out is almost never a good idea -- things get really > convoluted when you think about dealing with pagination and except for > some really trivial use cases you can never know what your

Re: Deleting from SolrQueryResponse

2009-07-12 Thread pof
Okay. So still, how would I go about creating a new DocList and Docset as they cannot be instantiated? Thanks, Brett. hossman wrote: > > > : > one thing to keep in mind however is that post-processing a DocList to > : > filter stuff out is almost never a good idea -- things get really > : >

Re: Solr 1.4 Release Date

2009-07-13 Thread pof
Any updates on this? Cheers. Gurjot Singh wrote: > > Hi, I am curious to know when is the scheduled/tentative release date of > Solr 1.4. > > Thanks, > Gurjot > > -- View this message in context: http://www.nabble.com/Solr-1.4-Release-Date-tp23260381p24473570.html Sent from the Solr - Use

DocList Pagination

2009-07-20 Thread pof
Hi, I am try to get the next DocList "page" in my custom search component. Could I get a code example of this? Cheers. -- View this message in context: http://www.nabble.com/DocList-Pagination-tp24581850p24581850.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Regarding Response Builder

2009-07-21 Thread pof
I would just do something like this: String myParam = req.getParams().get("xparam"); where "xparam" is: http://localhost:8983/solr/select/?q=dog&xparam=something&start=0&rows=10&indent=on Kartik1 wrote: > > The responsebuiilder class has SolrQueryRequest as public type. Using > SolrQueryRequ