Re: Using SolrJ for digest authentication

2018-02-05 Thread ddramireddy
It's running only once. When request went from client from tomcat first-time, tomcat sent response with "WWW-Authenticate" header with nonce value, asking to complete the challenge. This challenge is processed. But apache http client library is checking whether request is "repeatable" or not. This

Re: Using SolrJ for digest authentication

2018-01-31 Thread Rick Leir
Eddy Maybe your request is getting through twice. Check your logs to see. Cheers -- Rick On January 31, 2018 5:59:53 AM EST, ddramireddy wrote: >We are currently deploying Solr in war mode(Yes, recommendation is not >war. >But this is something I can't change now. Planned for future). I am >setti

Re: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-22 Thread Shawn Heisey
On 3/22/2014 7:34 AM, Russell Taylor wrote: > Yeah sorry didn't explain myself there, one of the three zookeepers will > return me one of the solrcloud machines for me to access the index. I either > need to know which machine it returned(is this feasible I can't seem to find > a way to access i

RE: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-22 Thread Russell Taylor
arch) I want to stitch on the other six indexes so I can search all of the data (each index is updated from separate feeds). Thanks for your quick reply. Russ. From: Furkan KAMACI [furkankam...@gmail.com] Sent: 21 March 2014 22:55 To: solr-user@lucene.

Re: using SolrJ with SolrCloud, searching multiple indexes.

2014-03-21 Thread Furkan KAMACI
Hi Russell; You say that: | CloudSolrServer server = new CloudSolrServer("solrServer1: 2111,solrServer2:2111,solrServer2:2111"); but I should mention that they are not Solr Servers that is passed into a CloudSolrServer. They are zookeeper host:port pairs optionally includes a chroot parameter

Re: Using SolrJ to update index with array fields

2012-12-21 Thread Erick Erickson
Solr doesn't natively handle array types, you probably have to do something like for (long l : arryOfLong) { doc.set(... l ); } Although I'm not all that familiar with the update set syntax... FWIW, Erick On Wed, Dec 19, 2012 at 6:26 PM, leonildo wrote: > Hello, > > I´m using solr 1.4 > > Ho

Re: Using solrj CloudSolrServer with Zookeeper ensemble

2012-10-29 Thread Timothy Potter
Hi Tobias, You can pass a comma-delimited list of Zk addresses in your ensemble, such as: zk1:2181,zk2:2181,zk3:2181, etc. Cheers, Tim On Mon, Oct 29, 2012 at 2:42 AM, Tobias Kraft wrote: > Hi, > > when I need high availability for my Solr environment it is recommended to > run a Zookeeper ens

Re: Using SolrJ over HTTPS

2011-09-02 Thread Kissue Kissue
Hi Simon, Thanks for your reply. I investigated this further and discovered that the actual error was: 2011-09-02 12:42:06,673 ERROR [org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer] - error java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Nati

Re: Using SolrJ over HTTPS

2011-09-02 Thread simon
Not sure about the exact reason for the error. However, there's a related email thread today with a code fragment that you might find useful -- see http://www.lucidimagination.com/search/document/a553f89beb41e39a/how_to_use_solrj_self_signed_cert_ssl_basic_auth#a553f89beb41e39a -Simon On Fri, Se

Re: Using solrJ to get all fields in a particular schema/index

2010-06-03 Thread Rakhi Khatwani
Hi, Oh okay. Thanks a ton On Tue, May 25, 2010 at 11:15 PM, Chris Hostetter wrote: > > :Is there any way to get all the fields (irrespective of > whether > : it contains a value or null) in solrDocument. > > no. a document only has "Field" instances for the fields which it has >

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread Chris Hostetter
:Is there any way to get all the fields (irrespective of whether : it contains a value or null) in solrDocument. no. a document only has "Field" instances for the fields which it has values for. it's also not a feature that would even be theoretically posisbly to add, becuase of d

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread findbestopensource
If a field doesn't have a value, You will get NULL on retrieving it. How could you expect a value for a field which is not provided? You have two options, choose either one.. 1. If the fieldvalue is returned NULL then display a proper error / user defined message. Handle the error. 2. Add a dummy

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread Rakhi Khatwani
Hi Aditya, i can retrieve all documents. but cannot retrieve all the fields in a document(if it does not hv any value). For example i get a list of documents, some of the documents have some value for title field, and others mite not contain a value for title field. in anycase i need to

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread findbestopensource
Resending it as there is a typo error. To reterive all documents, You need to use the query/filter FieldName:*:* . Regards Aditya www.findbestopensource.com On Tue, May 25, 2010 at 4:29 PM, findbestopensource < findbestopensou...@gmail.com> wrote: > To reterive all documents, You need to use

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread findbestopensource
To reterive all documents, You need to use the query/filter *FieldName:*:** Regards Aditya www.findbestopensource.com On Tue, May 25, 2010 at 4:14 PM, Rakhi Khatwani wrote: > Hi, > Is there any way to get all the fields (irrespective of whether > it contains a value or null) in solrDocu

Re: Using solrJ to get all fields in a particular schema/index

2010-05-25 Thread findbestopensource
To reterive all documents, You need to use the query/filter *FieldName:*:** Regards Aditya www.findbestopensource.com On Tue, May 25, 2010 at 4:14 PM, Rakhi Khatwani wrote: > Hi, > Is there any way to get all the fields (irrespective of whether > it contains a value or null) in solrDo

Re: Re : Using SolrJ with Tika

2009-09-03 Thread Grant Ingersoll
urent De : Abdullah Shaikh À : solr-user@lucene.apache.org Envoyé le : Jeudi, 3 Septembre 2009, 14h31mn 10s Objet : Re: Using SolrJ with Tika Hi Laurent, I am not sure if this is what you need, but you can extract the content from the uploaded document (MS Docs

Re : Using SolrJ with Tika

2009-09-03 Thread Angel Ice
yé le : Jeudi, 3 Septembre 2009, 14h31mn 10s Objet : Re: Using SolrJ with Tika Hi Laurent, I am not sure if this is what you need, but you can extract the content from the uploaded document (MS Docs, PDF etc) using TIKA and then send it to SOLR for indexing. String CONTENT = extract the content using

Re: Using SolrJ with Tika

2009-09-03 Thread Abdullah Shaikh
Hi Laurent, I am not sure if this is what you need, but you can extract the content from the uploaded document (MS Docs, PDF etc) using TIKA and then send it to SOLR for indexing. String CONTENT = extract the content using TIKA (you can use AutoDetectParser) and then, SolrInputDocument doc = ne

Re: Using SolrJ with Tika

2009-09-02 Thread Grant Ingersoll
Hi Angel, I'm looking into it. Might need a new SolrRequest, but still playing around and will let you know... -Grant On Sep 2, 2009, at 4:56 AM, Angel Ice wrote: Hi everybody. I hope it's the right place for questions, if not sorry. I'm trying to index rich documents (PDF, MS docs etc)

Re: Re : Using SolrJ with Tika

2009-09-02 Thread rajan chandi
oking for a way to do the same thing for rich document, once my > webapp has finished its job with the document. > > Regards, > > Laurent > > > > > > ____ > De : rajan chandi > À : solr-user@lucene.apache.org > Envoyé le : Me

Re : Using SolrJ with Tika

2009-09-02 Thread Angel Ice
.apache.org Envoyé le : Mercredi, 2 Septembre 2009, 16h13mn 22s Objet : Re: Using SolrJ with Tika Laurent, Check-out Solr 1.4. You can download the trunk and Build it on your box. The Solr 1.4 does this out-of-the-box. No configuration required. You can use HTTP POST to post the document using some Li

Re: Using SolrJ with Tika

2009-09-02 Thread rajan chandi
Laurent, Check-out Solr 1.4. You can download the trunk and Build it on your box. The Solr 1.4 does this out-of-the-box. No configuration required. You can use HTTP POST to post the document using some Linux utility like Curl and the PDF/Word/RTF/PPT/XLS etc. will be indexed. We tested this las

Re: Using SolrJ with multicore/shards

2009-06-02 Thread ahammad
Sorry for the additional message, the disclaimer was missing. Disclaimer: The code that was used was taken from the following site: http://e-mats.org/2008/04/using-solrj-a-short-guide-to-getting-started-with-solrj/ . ahammad wrote: > > Hello, > > I played around some more with it and I found

Re: Using SolrJ with multicore/shards

2009-06-02 Thread ahammad
Hello, I played around some more with it and I found out that I was pointing my constructor to an older class that doesn't have the MultiCore capability. This is what I did to set up the shards: query.setParam("shards", "localhost:8080/solr/core0/,localhost:8080/solr/core1/"); I do have a new

Re: Using SolrJ with multicore/shards

2009-06-02 Thread ahammad
I'm still not sure what you meant. I took a look at that class but I haven't got any idea on how to proceed. BTW I tried something like this query.setParam("shard", "http://localhost:8080/solr/core0/"; , "http://localhost:8080/solr/core1/";); But it doesn't seem to work for me. I tried it with

Re: Using SolrJ with multicore/shards

2009-06-02 Thread Otis Gospodnetic
You should be able to set any name=value URL parameter pair and send it to Solr using SolrJ. What's the name of that class... MapSolrParams, I believe. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: ahammad > To: solr-user@lucene.apach

Re: Using Solrj

2008-10-31 Thread Shalin Shekhar Mangar
On Fri, Oct 31, 2008 at 5:21 PM, Raghunandan Rao < [EMAIL PROTECTED]> wrote: > Thank you. > I was talking about DataImportHandler API. > > Most likely, you will not need to use the API. DataImportHandler will let you index your database without writing code -- you just need an XML configuration fi

RE: Using Solrj

2008-10-31 Thread Raghunandan Rao
Thank you. I was talking about DataImportHandler API. -Original Message- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 5:19 PM To: solr-user@lucene.apache.org Subject: Re: Using Solrj On Fri, Oct 31, 2008 at 4:32 PM, Raghunandan Rao < [EM

Re: Using Solrj

2008-10-31 Thread Shalin Shekhar Mangar
On Fri, Oct 31, 2008 at 4:32 PM, Raghunandan Rao < [EMAIL PROTECTED]> wrote: > I am doing that but the API is in experimental stage. Not sure to use it or > not. BTW can you also let me know how clustering works on Windows OS cos I > saw clustering scripts for Unix OS bundled out with Solr release

RE: Using Solrj

2008-10-31 Thread Raghunandan Rao
PROTECTED] Sent: Friday, October 31, 2008 11:37 AM To: solr-user@lucene.apache.org Subject: Re: Using Solrj First of all you need to index your data in Solr. I suggest DataImportHandler because it can help you join multiple tables and index data On Fri, Oct 31, 2008 at 10:20 AM, Raghunandan Rao

Re: Using Solrj

2008-10-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
gt; From: Erick Erickson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2008 7:01 PM > To: solr-user@lucene.apache.org > Subject: Re: Using Solrj > > Generally, you need to get your head out of the database world and into > the search world to be successful with Lucene.

RE: Using Solrj

2008-10-30 Thread Raghunandan Rao
this case? -Original Message- From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 7:01 PM To: solr-user@lucene.apache.org Subject: Re: Using Solrj Generally, you need to get your head out of the database world and into the search world to be successful with Lucene. Fo

Re: Using Solrj

2008-10-30 Thread Erick Erickson
> then index on the view and fetch? > > -Original Message- > From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2008 6:16 PM > To: solr-user@lucene.apache.org > Subject: Re: Using Solrj > > hi , > There are two sides to this . > 1.

Re: Using Solrj

2008-10-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
> > -Original Message- > From: Noble Paul നോബിള്‍ नोब्ळ् [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2008 6:16 PM > To: solr-user@lucene.apache.org > Subject: Re: Using Solrj > > hi , > There are two sides to this . > 1. indexing (getting data into So

RE: Using Solrj

2008-10-30 Thread Raghunandan Rao
: Using Solrj hi , There are two sides to this . 1. indexing (getting data into Solr) SolrJ or DataImportHandler can be used for this 2.querying . getting data out of solr. Here you do not have the choice of joining multiple tables. There only one index for Solr On Thu, Oct 30, 2008 at 5:34 PM

Re: Using Solrj

2008-10-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi , There are two sides to this . 1. indexing (getting data into Solr) SolrJ or DataImportHandler can be used for this 2.querying . getting data out of solr. Here you do not have the choice of joining multiple tables. There only one index for Solr On Thu, Oct 30, 2008 at 5:34 PM, Raghunandan Ra

Re: Using SolrJ with embedded multicores

2008-07-31 Thread Shalin Shekhar Mangar
On Fri, Aug 1, 2008 at 12:45 AM, Alexander Ramos Jardim < [EMAIL PROTECTED]> wrote: > Hello pals, > > I am trying to put SolrJ to work with an embedded multicore Solr, but I > cannot even get it to work with the piece of code suggested in the wiki > page: > > http://wiki.apache.org/solr/Solrj#head

Re: Using SolrJ for response

2008-07-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
You may need to check your classpath and ensure that you are using the correct versions of httpclient (the ones shipped with solr) On Mon, Jul 14, 2008 at 1:00 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to solrJ, in following code I got exception. Plese help, we did not > get getP