Re: Reminder: LogoContest deadline in one week

2008-11-13 Thread Otis Gospodnetic
Note to people with blogs. It would be great if you could mention this on your blog, so more people are aware of the contest. I just did that on http://jroller.com/otis/ in hopes of attracting even more submissions. Thanks! Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

RE: Solrj queries

2008-11-13 Thread Raghunandan Rao
Yes. But is that how we do in Solrj by setting SolrQuery("text:Right And title:go"). Thanks a lot. -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 10:55 AM To: solr-user@lucene.apache.org Subject: Re: Solrj queries On Nov 14, 2008, at

Re: Solrj queries

2008-11-13 Thread Ryan McKinley
On Nov 14, 2008, at 12:14 AM, Raghunandan Rao wrote: Hi, Can anybody let me know how to do logical searches using Solrj. I have indexed the data and now I want to do search based on fields using Solrj as I have to retrieve in the form of beans. For eg. I have two fields, First name and

Re: solrj and CLOSE_WAIT's

2008-11-13 Thread Ryan McKinley
not sure if it is something we can do better or part of HttpClient... From: http://www.nabble.com/CLOSE_WAIT-td19959428.html it seems to suggest you may want to call: con.closeIdleConnections(0L); But if you are creating a new MultiThreadedHttpConnectionManager for each request, is seems odd

Solrj queries

2008-11-13 Thread Raghunandan Rao
Hi, Can anybody let me know how to do logical searches using Solrj. I have indexed the data and now I want to do search based on fields using Solrj as I have to retrieve in the form of beans. For eg. I have two fields, First name and last name I have to retrieve only names which match both

XsltResponseWriter date handling

2008-11-13 Thread Erik Hatcher
I've done exorcisms to eradicate what I once knew about XSL from my head, but now I find myself interested in playing some games with the XsltResponseWriter for pragmatic "the desired output is straightforward XML" reasons. I need to take a Solr date value in "2008-10-30T03:28:10.000Z" for

Re: STATS functions ....

2008-11-13 Thread Erik Hatcher
StatsComponent is in trunk now, committed after the 1.3 release. - note the "Status" and the "Subversion Commits" stuff there (just trying to help folks help themselves track this stuff :). I suspect the code could be pulled from that issue an

STATS functions ....

2008-11-13 Thread souravm
Hi, As I understand the STATS functions (Min, Max, Average, Standard Deviation etc.) would be available in Solr 1.4. Just wondering if they are already there in the latest trunk. Else can anyone suggest any other tool which can be used with Solr 1.3 to achieve this requirement ? Regards, Sou

solrj and CLOSE_WAIT's

2008-11-13 Thread Ian Holsman
Hi guys. I'm running a little upload project that uploads documents into a solr index. there is also a 2nd thread that runs a deleteby query and a optimize every once and a while. in an effort to reduce the probably of things being held onto I've made everything local, but it is still collec

Re: full-import with solrj (solr Java client)

2008-11-13 Thread gistolero
Erik, thanks a lot for this example. Now, all works fine :-) Original-Nachricht > Datum: Thu, 13 Nov 2008 06:53:36 -0500 > Von: Erik Hatcher <[EMAIL PROTECTED]> > An: solr-user@lucene.apache.org > Betreff: Re: full-import with solrj (solr Java client) > On Nov 13, 2008, at 6:

Re: maxCodeLen in the doublemetaphone solr analyzer

2008-11-13 Thread Brian Whitman
oh, thanks! I didn't see that patch. On Thu, Nov 13, 2008 at 3:40 PM, Feak, Todd <[EMAIL PROTECTED]> wrote: > There's a patch in to do that as a separate filter. See > https://issues.apache.org/jira/browse/SOLR-813 >

RE: maxCodeLen in the doublemetaphone solr analyzer

2008-11-13 Thread Feak, Todd
There's a patch in to do that as a separate filter. See https://issues.apache.org/jira/browse/SOLR-813 You could just take the patch. It's the full filter and factory. -Todd Feak -Original Message- From: Brian Whitman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2008 12:31 PM

maxCodeLen in the doublemetaphone solr analyzer

2008-11-13 Thread Brian Whitman
I want to change the maxCodeLen param that is in Solr 1.3's doublemetaphone plugin. Doc is here: http://commons.apache.org/codec/apidocs/org/apache/commons/codec/language/DoubleMetaphone.html Is this something I can do in solrconfig or do I need to change it and recompile?

Reminder: LogoContest deadline in one week

2008-11-13 Thread Chris Hostetter
Hey all, a quick reminder that hte submission deadline for the Solr Logo Contest ends a week from today. Full details on how to enter are on the wiki, feel free to email the list with any questions... http://wiki.apache.org/solr/LogoContest At the bottom of that page i've inlined all of

RE: solr 1.3 Modification field in schema.xml

2008-11-13 Thread Feak, Todd
I believe (someone correct me if I'm wrong) that the only fields you need to store are those fields which you wish returned from the query. In other words, if you will never put the field on the list of fields (fl) to return, there is no need to store it. It would be advantageous not to store more

solr 1.3 Modification field in schema.xml

2008-11-13 Thread sunnyfr
Hi everybody, I don't get really when do I have to re index datas or not. I did a full import but I realised I stored too many fields which I don't need. So I have to change some fields inedexed which are stored to not stored. And I don't know if I have to re index my datas or not and in which c

Re: DataImportHandler, custom properties

2008-11-13 Thread Shalin Shekhar Mangar
I'm not very sure about what you are want to do but it seems that TemplateTransformer can help you. http://wiki.apache.org/solr/DataImportHandler#head-071ff018f44ecbdb1cf55afc4c2a857f44ea1ea4 On Thu, Nov 13, 2008 at 10:09 PM, DODMax <[EMAIL PROTECTED]> wrote: > > Hello, > > I need somehow to add

DataImportHandler, custom properties

2008-11-13 Thread DODMax
Hello, I need somehow to add some custom properties to an entity so they will appear with indexed datas. Something like this : The point is that I don't have this property in the database so it can't be imported. Plus, I'm generating the data-source file from another database so I don

Re: To associate sort criteria with the search query having fields of type String( required to be treated as numeric)

2008-11-13 Thread Otis Gospodnetic
Hi, I *think* you can't do this without reindexing that field as a proper type. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch From: payalsharma <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, November 13, 2008 9:40:10 A

To associate sort criteria with the search query having fields of type String( required to be treated as numeric)

2008-11-13 Thread payalsharma
Hi, I m trying to apply sort on the search query which includes fields of type string, but i want some fields to be treated as of type float/integer by solr since the field basicly contains numeric value but have been defined as of type string in solrCofig.XML Currently sorting on these fileds o

Sorting is not taking place on the search results when query consists of "qt " parameter

2008-11-13 Thread payalsharma
Hi, I am trying to sort the search results on the basis of some fields of my XML document. SAMPLE RESULT XML document : productIndex 5000 productIndex 799 baraaa 5000 5000 sapient123 in Stock 4999 In Search of the Shape of the Universe 799 baraaa

Re: full-import with solrj (solr Java client)

2008-11-13 Thread Erik Hatcher
On Nov 13, 2008, at 6:20 AM, [EMAIL PROTECTED] wrote: I want to run a (DataImportHandler) full-import with solrj. I understand how to send queries with SolrQuery etc., but I don't know how to construct the "dataimport?command=full-import&commit=true" path. Which classes do I have to use? Sol

full-import with solrj (solr Java client)

2008-11-13 Thread gistolero
Hello, I want to run a (DataImportHandler) full-import with solrj. I understand how to send queries with SolrQuery etc., but I don't know how to construct the "dataimport?command=full-import&commit=true" path. Which classes do I have to use? SolrRequest? It would be very nice if you could post

Re: Solr 1.3 stack overflow when accessing solr/admin page

2008-11-13 Thread Mike Robins
hossman wrote: > > > i don't have time to really dig into the code right now, but out of > curiosity what happens when you hit http://localhost:7001/solr/admin/ > and/or http://localhost:7001/solr/admin/index.jsp ? > > I get the same exception when going to both of those. -- View this mes

Re: Calculating peaks - solrj support for facet.date?

2008-11-13 Thread Aleksander M. Stensby
As Erik said, you can just set the parameters yourself SolrQuery query = new SolrQuery(...); query.set(FacetParams.FACET_DATE, ...); etc. You'll find all facet-related parameters in the FacetParams interface, located in the org.apache.solr.common.params package. - Aleks On Fri, 07 Nov 200