Re: solr on third party hosting account throws java.lang.RuntimeException: Cannot create directory: /usr/local/tomcat/a

2011-01-05 Thread Grijesh.singh
/usr/local/tomcat/apache-tomcat-6.0.26/bin/./solr/data/index Thats showing that solr is getting as solr/home as /usr/local/tomcat/apache-tomcat-6.0.26/bin/ either your solr/home settings in web.xml is not working Or You have the default solrconfig.xml settings ,either you have to modify the "da

Re: MoreLikeThis search component

2011-01-05 Thread Anurag
You can go through page 182 of this book . On Thu, Jan 6, 2011 at 12:53 PM, Isha Garg [via Lucene] < ml-node+2204185-

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Lance Norskog
AND/OR/NOT/SUBTRACT combinations for filters would certainly be a useful feature. On Wed, Jan 5, 2011 at 11:36 PM, Em wrote: > > Thank you Jonathan. > > "fq=foo:bar&fq=foo:baz" seems to be the better alternative for "fq=foo:bar > AND foo:baz" if "foo:bar" and "foo:baz" were often used in differen

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Em
Thank you Jonathan. "fq=foo:bar&fq=foo:baz" seems to be the better alternative for "fq=foo:bar AND foo:baz" if "foo:bar" and "foo:baz" were often used in different combinations (not always together). However, in most of the usecases I can think of, an "fq=foo:bar OR foo:baz"-behaviour is expecte

MoreLikeThis search component

2011-01-05 Thread Isha Garg
Hi , I am new solr user. Can anyone tell me the detailed approach that works behind the MoreLikeThis solr search component and how to use this? Thanks! Isha Garg

Re: solr on third party hosting account throws java.lang.RuntimeException: Cannot create directory: /usr/local/tomcat/a

2011-01-05 Thread Lance Norskog
The only Tomcat configuration I know about is in Catalina/localhost. This is documented in the Solr wiki. On Wed, Jan 5, 2011 at 10:40 PM, Darniz wrote: > > Hi Guys, > I am using third party hosting i uploaded the solr war file. Stopped my > tomcat, changed the web.xml and set the solr home manua

Re: Error when running simple queries to solr

2011-01-05 Thread Lance Norskog
The example/ directory in the solr distribution is a complete working Solr installation. Just copy that to where you want, cd into it, and run 'java -jar start.jar'. Copying directories around will be confusing because there are a few configuration files that say where things are and it is easy to

solr on third party hosting account throws java.lang.RuntimeException: Cannot create directory: /usr/local/tomcat/a

2011-01-05 Thread Darniz
Hi Guys, I am using third party hosting i uploaded the solr war file. Stopped my tomcat, changed the web.xml and set the solr home manually there to /usr/myaccountname/solr-home As said in doc, i copied the entire contents under solr_dist/example/solr under my solr-home folder. i bounced the serv

Sorting within grouped results?

2011-01-05 Thread Andy
I want to group my results by a field named "group_id". According to http://wiki.apache.org/solr/FieldCollapsing , for each unique value of group_id a docList with the top scoring document is returned. But in my case I want to sort the results within each "group_id" by an int field "popularity"

Re: How to integrate Solr with C/CPP client

2011-01-05 Thread prasad deshpande
Thank you for your quick reply. How to use cURL to send and get request to the Solr? So that I can integrate solr with C/CPP client. Thanks and Regards, Prasad On Wed, Jan 5, 2011 at 10:26 PM, Juan Manuel Alvarez wrote: > I use the POCO C++ library (http://pocoproject.org/) to send > HTML reque

[Solr4.0] Release Date

2011-01-05 Thread Adam Estrada
I know this is a bit premature but does anyone have an anticipated release date for Solr4.0? I looked at Jira and there are still quite a few unresolved issues in there. Do we think it will be spring, summer or fall for this release? Thanks, Adam

Re: Searching similar values for same field results in different results

2011-01-05 Thread Erick Erickson
Often adding &debugQuery=on to the URL can show you very useful information that helps pinpoint the problem. I confess I don't see anything amiss in what you've shown though. Also, look at the "schema browser" page off the admin page, and look at your "themes" field to see what is actually in your

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Dennis Gearon
And the sky is blue and the night is black - Original Message From: Jonathan Rochkind To: "solr-user@lucene.apache.org" Sent: Wed, January 5, 2011 2:18:20 PM Subject: Re: (FQ) Filter Query Caching Differences with OR and AND? Um, good or bad for what? It depends. But it's how So

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Jonathan Rochkind
Um, good or bad for what? It depends. But it's how Solr works either way. On 1/5/2011 5:10 PM, Dennis Gearon wrote: Is that good or bad? Dennis Gearon - Original Message From: Jonathan Rochkind To: "solr-user@lucene.apache.org" Cc: Em Sent: Wed, January 5, 2011 1:53:23 PM Subjec

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Dennis Gearon
Is that good or bad? Dennis Gearon - Original Message From: Jonathan Rochkind To: "solr-user@lucene.apache.org" Cc: Em Sent: Wed, January 5, 2011 1:53:23 PM Subject: Re: (FQ) Filter Query Caching Differences with OR and AND? Each 'fq' clause is it's own cache key. 1. fq=foo:bar

Re: (FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Jonathan Rochkind
Each 'fq' clause is it's own cache key. 1. fq=foo:bar OR foo:baz => one entry in filter cache 2. fq=foo:bar&fq=foo:baz => two entries in filter cache, will not use cached entry from #1 3. fq=foo:bar => One entry, will use cached entry from #2 4. fq=foo:bar => One entry, will use cach

(FQ) Filter Query Caching Differences with OR and AND?

2011-01-05 Thread Em
Hi, while reading through some information on the list and in the wiki, i found out that something is missing: When I specify a filter queries like this fq=foo:bar OR foo:baz or fq=foo:bar&fq=foo:baz or fq=foo:bar or fq=foo:baz How many filter query entries will be cached? Two, since there are

RE: DataImportHanlder - Multiple entities will step into each other

2011-01-05 Thread Ephraim Ofir
You could get around that by doing the concatenation at the SQL level, that way deletes would work as well. Ephraim Ofir -Original Message- From: Matti Oinas [mailto:matti.oi...@gmail.com] Sent: Tuesday, January 04, 2011 3:57 PM To: solr-user@lucene.apache.org Subject: Re: DataImportHan

Re: [sqljdbc4.jar] Errors

2011-01-05 Thread Gora Mohanty
On Wed, Jan 5, 2011 at 8:22 PM, Adam Estrada wrote: > I can't tell any difference in performance but it does work like a charm. At > least the messaging in the console is a lot more verbose. [...] Well, as far as the performance goes, we were also simultaneously making other changes as we were sw

Re: Searching similar values for same field results in different results

2011-01-05 Thread Ahmet Arslan
> > uhm...how do I perform an optimize operation? :) http://localhost:8983/solr/db/update/?optimize=true

Re: Searching similar values for same field results in different results

2011-01-05 Thread PeterKerk
uhm...how do I perform an optimize operation? :) -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-similar-values-for-same-field-results-in-different-results-tp2199269p2199795.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to integrate Solr with C/CPP client

2011-01-05 Thread Juan Manuel Alvarez
I use the POCO C++ library (http://pocoproject.org/) to send HTML requests to Solr and to parse the XML response. Cheers! Juan M. On Wed, Jan 5, 2011 at 1:28 AM, Gora Mohanty wrote: > On Wed, Jan 5, 2011 at 9:54 AM, prasad deshpande > wrote: >> It seems Solr/Lucene is completely developed in Ja

Re: Searching similar values for same field results in different results

2011-01-05 Thread Ahmet Arslan
> Something weird is happening. > > I have locations that can have 1 or more themes. > A theme can be: "Kasteel en Landgoed", or a theme can be > "Strand en Zee" > > I checked in the database, there are many locations that > have 1 or more of > these themes assigned to it. > > Also in the respon

Searching similar values for same field results in different results

2011-01-05 Thread PeterKerk
Something weird is happening. I have locations that can have 1 or more themes. A theme can be: "Kasteel en Landgoed", or a theme can be "Strand en Zee" I checked in the database, there are many locations that have 1 or more of these themes assigned to it. Also in the response xml when I do a ge

Re: [sqljdbc4.jar] Errors

2011-01-05 Thread Adam Estrada
I can't tell any difference in performance but it does work like a charm. At least the messaging in the console is a lot more verbose. Thank you very much for the heads up on this one ;-) Adam On Wed, Jan 5, 2011 at 4:29 AM, Gora Mohanty wrote: > On Wed, Jan 5, 2011 at 10:18 AM, Estrada Groups

Re: Embedding SOLR in Dot NET Application

2011-01-05 Thread Mauricio Scheffer
See: http://stackoverflow.com/questions/1749314/is-solr-available-for-net http://stackoverflow.com/questions/3992530/is-any-work-being-done-on-a-net-port-of-solr -- Mauricio On Wed, Jan 5, 2011 at 6:59 AM, sumita wrote: >

Re: Replication: the web application [/solr] .. likely to create a memory leak

2011-01-05 Thread Markus Jelsma
I have no Windows. On Tuesday 04 January 2011 23:20:00 Lance Norskog wrote: > Is this on Windows or Unix? Windows will not delete a file that is still > open. > > On Tue, Jan 4, 2011 at 10:07 AM, Markus Jelsma > > wrote: > > Is it possible this problem has something to do with my old index file

Re: WARNING: re-index all Lucene trunk indices

2011-01-05 Thread Michael McCandless
On Wed, Jan 5, 2011 at 6:05 AM, Bernd Fehling wrote: > Because this is also posted for solr-user and from some earlier > experiences with solr from trunk I think this is also recommended > for solr users living from trunk, right? > > So solr trunk builds directly with lucene trunk? Correct. Mike

Re: Sub query using SOLR?

2011-01-05 Thread Geert-Jan Brits
Bbarani probably wanted to be able to create the query without having to prefetch the ids at the clientside first. But I agree this is the only stable solution I can think of (so excluding possible patches) Geert-Jan 2011/1/5 Grijesh.singh > > Why thinking so complex,just use result of first qu

Re: WARNING: re-index all Lucene trunk indices

2011-01-05 Thread Bernd Fehling
Because this is also posted for solr-user and from some earlier experiences with solr from trunk I think this is also recommended for solr users living from trunk, right? So solr trunk builds directly with lucene trunk? Bernd Am 05.01.2011 11:55, schrieb Michael McCandless: > If you are using L

WARNING: re-index all Lucene trunk indices

2011-01-05 Thread Michael McCandless
If you are using Lucene's trunk (to be 4.0) builds, read on... I just committed LUCENE-2843, which is a hard break on the index file format. If you are living on Lucene's trunk then you have to remove any previously created indices and re-index, after updating. The change cuts over to a more RAM

Re: Embedding SOLR in Dot NET Application

2011-01-05 Thread Grijesh.singh
Solr is not a library like Lucene. Solr works like Webservice application over http. It works over http so you can easly integrate it in any application. it takes input as http parameters and returns response in different forms like xml, json, php, csv etc.So you can use any response type for you

Re: Error when running simple queries to solr

2011-01-05 Thread Grijesh.singh
/opt/solr i.e. solr/home only requires conf,data,lib directories. why you have putted other directories under solr/home location. The [solr/home]/data directory must required the "Write" permission ,Please check and provide appropriate permissions to directories because solr will try to write in

Re: Sub query using SOLR?

2011-01-05 Thread Grijesh.singh
Why thinking so complex,just use result of first query as filter for your second query like fq=related_id:(id1 OR id2 OR id3 )&q=q=”type:IT AND manager_12:dave” somthing like that - Grijesh -- View this message in context: http://lucene.472066.n3.nabble.com/Sub-query-using-SOLR-tp2

Re: [sqljdbc4.jar] Errors

2011-01-05 Thread Gora Mohanty
On Wed, Jan 5, 2011 at 10:18 AM, Estrada Groups wrote: > I downloaded that driver today and will test it tomorrow. Thanks for the tip! > Would you mind sending an XML code snippet if it's any different to load than > the MS driver? [...] I presume that you are referring to the jTDS driver. The