Re: Tomcat 6.0 solr home not set

2008-03-18 Thread Chris Hostetter
: Honestly. Any help would be *much* appreciated but shouldn't Tomcat be : the easiest way to run SOLR? The *easiest* way to get Solr up and running is to follow the example on the tutorial to start the Jetty server included with the release (the tutorial assumes you are using a nightly build,

Tomcat 6.0 solr home not set

2008-03-18 Thread David Arpad Geller
(Sorry for the double post - I committed one of my pet peeves - I didn't create a descriptive subject) I normally wouldn't just signup to a list and post immediately but... I hope there are some Tomcat experts here. I'm trying to setup solr and tomcat. I get the following: INFO: HTMLManager:

introduction and help!

2008-03-18 Thread David Geller
I normally wouldn't just signup to a list and post immediately but... I hope there are some Tomcat experts here. I'm trying to setup solr and tomcat. I get the following: INFO: HTMLManager: start: Starting web application at '/solr' Mar 19, 2008 12:57:26 AM org.apache.solr.servlet.SolrDispatchF

Re: Connection reset exception

2008-03-18 Thread Otis Gospodnetic
Sundar - I can't tell. Could it be a timeout issue? Otis (Jetty fan who learned to dislike JBoss 5/6/7 years ago) -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Sundar Sankaranarayanan <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesd

Re: sort by index id descending?

2008-03-18 Thread Chris Hostetter
: Is there any way to sort by index id - descending? (by order of indexed) Not that i can think of. Lucene already has support for it, so it would probably be a fairly simple patch if someone wanted to try to implement it, we just need some syntax to make the parameter parsing construct the r

Solr question

2008-03-18 Thread Raghav Kapoor
Hi All: I am new to Solr and I am facing a question if solr would can be helpful in a project that I'm working on. The project is a client/server app that requires a client app to index the documents and send the results in rdf to server. The client needs to be smart enough to know when a new do

Re: search in related multiValued fields

2008-03-18 Thread Chris Hostetter
The topic of "related multivalued fields" has been discussed before. as Jayson describes there are tricks you can use to build a single field containing all the vlaues in such a way that you can query for combinations; but it would also be very possible to build a new type of phrase or span q

Re: Date Range Query + Fields

2008-03-18 Thread Chris Hostetter
: For instance: A document with a start_date of 1/1/08 and an end_date : of 3/1/08 should still match for a search of the range 2/1/08 to : 2/2/08. if I'm understanding you correctly, what you want is something like... startDate:[* TO NOW+30DAY] AND endDate:[NOW TO *] ..that should give you

Re: sorting on a multivalued field

2008-03-18 Thread Joshua Reedy
On Mon, Mar 17, 2008 at 12:39 PM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : It appears that adding sort functions would be done in Lucene, and not > > : in solr. I'm not sure I want to go down that path, so I'm wondering > : if there's a way to accomplish this with solr. From recent > :

Re: Smart way of indexing for Better performance

2008-03-18 Thread Chris Hostetter
: I have the following use case. I could implement the solution but : performance is affected. I need some smart ways of doing this. : Use Case : : Incoming data has two fields which have values like 'WAL MART STORES INC' : and 'wal-mart-stores-inc'. : Users can search the data either in 'wal

Re: sorting on aggregate averages

2008-03-18 Thread Chris Hostetter
: I have a problem of returning an list of results which is sorted on a : average of ranks returned from aggregates. : the qury would be something like ? : q=product:p1+product:p2+product:p3; sort score desc : To explain Supose I have documents with fields Product, Manufacturer, Rank : and I want

RE: Connection reset exception

2008-03-18 Thread Sundar Sankaranarayanan
Hi Otis, Thanks for the response. The Jboss logs were the one that pointed out to the connection reset. What could be the problem here. Solr is the only things that is running on that box. These are the logs, if it can help. 2008-03-18 08:30:36,740 [STDERR:152] ERROR - Mar 18, 2008 8:30

Re: search in related multiValued fields

2008-03-18 Thread Jayson Minard
Hello Mehdi, You might need to concatenate the fields and create a combined value such as GFI-2 instead of leaving them separate, or do both in the same document so you have the option of filtering by either. --j On Tue, Mar 18, 2008 at 10:09 AM, émile coué <[EMAIL PROTECTED]> wrote: > > Hi, >

Re: sort by index id descending?

2008-03-18 Thread Jae Joo
Finding the way how to sort by internal_docid desc. Thanks, Jae On Tue, Mar 18, 2008 at 11:41 AM, Jae Joo <[EMAIL PROTECTED]> wrote: > Is there any way to sort by index id - descending? (by order of indexed) > > Thanks, > Jae >

Re: search in related multiValued fields

2008-03-18 Thread émile coué
Hi, Thank you Otis Gospodnetic, but experience_company:GFI AND experience_years:2 will give me both docs, it should return just the first. My need is : poeple having GFI in "experience_company" and 2 in "experience_years" where GFI and 2 are in same position in the vector. I've told : > The "ex

Re: search in related multiValued fields

2008-03-18 Thread Otis Gospodnetic
Hi, Go to your Solr admin page and enter this in that big text area: experience_company:GFI AND experience_years:2 Then look at the URL after you've submitted the search. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: émile coué <[EMAIL PROT

Re: Smart Indexing for Better performance and functionality ??

2008-03-18 Thread Otis Gospodnetic
Yerraguntla, Which approaches have you tried so far? You want a query for "walmart" to match a document that, in its original input form contains "wal mart"? It sounds like you may want to try the n-gram approach with one of the NGram analyzers/factories. Otis -- Sematext -- http://sematext.com

Re: Connection reset exception

2008-03-18 Thread Otis Gospodnetic
Sundar, Most likely this is not related to Solr. I would look in JBoss logs and the logs for the servlet container that you are using with JBoss. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Sundar Sankaranarayanan <[EMAIL PROTECTED]> To:

Re: Connection reset exception

2008-03-18 Thread Otis Gospodnetic
Sundar, Most likely this is not related to Solr. I would look in JBoss logs and the logs for the servlet container that you are using with JBoss. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Sundar Sankaranarayanan <[EMAIL PROTECTED]> To:

Re: Changing Solr Query Syntax

2008-03-18 Thread Yonik Seeley
The other option would be a custom QParserPlugin. -Yonik On Tue, Mar 18, 2008 at 12:18 PM, Ben Sanchez <[EMAIL PROTECTED]> wrote: > Shalin, Thanks a lot. I'll do that. > > On Tue, Mar 18, 2008 at 11:13 AM, Shalin Shekhar Mangar < > > > [EMAIL PROTECTED]> wrote: > > > Hi Ben, > > > > If I had

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Shalin, Thanks a lot. I'll do that. On Tue, Mar 18, 2008 at 11:13 AM, Shalin Shekhar Mangar < [EMAIL PROTECTED]> wrote: > Hi Ben, > > If I had to do this, I would start by adding a custom > javax.servlet.Filter into Solr. It should work fine since all you're > doing is replacing characters in the

Re: Changing Solr Query Syntax

2008-03-18 Thread Shalin Shekhar Mangar
Hi Ben, If I had to do this, I would start by adding a custom javax.servlet.Filter into Solr. It should work fine since all you're doing is replacing characters in the q parameter for requests coming into /select handler. It's a bit hackish but that's exactly what you're trying to do :) Don't kno

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Hi Shalin, thanks a lot for answering that fast. Use Case: I'm migrating from a proprietary index server (XYZ) to Solr. All my applications and my customer's applications relay on the query specification of XYZ. It would be hard to modify all those apps to use the Solr Query Syntax (although, it

Re: Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Shalin, thanks a lot for answering that fast. Use Case: I'm migrating from a proprietary index server (XYZ) to Solr. All my applications and my customer's applications relay on the query specification of XYZ. It would be hard to modify all those apps to use the Solr Query Syntax (although, it wou

Connection reset exception

2008-03-18 Thread Sundar Sankaranarayanan
Hi, I have been using solr for sometime now. The solr.war is deployed on a windows box on a Jboss server. I was getting a java.net.SocketException connection reset exception all of a sudden from yesterday morning. I am not sure as to what's happening cos there has been no change to the environme

Re: search in related multiValued fields

2008-03-18 Thread ibrahimamrani
I have the same problem please help me :-( émile coué wrote: > > Hi, > > I am stuck at the search in related multiValued fields. > Suppose I have the following data: > > in-550803 > Ibrahim EL AMRANI > > GFI > OUTSOURCIA > > > 2 >

sort by index id descending?

2008-03-18 Thread Jae Joo
Is there any way to sort by index id - descending? (by order of indexed) Thanks, Jae

Re: Changing Solr Query Syntax

2008-03-18 Thread Shalin Shekhar Mangar
Hi Ben, It would be nice if you can tell us your use-case so that we can be more helpful. Why does the normal query syntax not work well for you? What are you trying to accomplish? Maybe there is an easier way. On Tue, Mar 18, 2008 at 8:17 PM, Ben Sanchez <[EMAIL PROTECTED]> wrote: > Hi solr use

Changing Solr Query Syntax

2008-03-18 Thread Ben Sanchez
Hi solr users, I need to change the query format for solr a little bit. How can I accomplish this. I don't wan to modify the underlying lucene query specification but just the way I query the index through the the GET http method in solr. Thanks a lot for your help. Ben

Smart Indexing for Better performance and functionality ??

2008-03-18 Thread Yerraguntla
Hi, I have the following use case. I could implement the solution but performance is affected. I need some smart ways of doing this. Use Case : Incoming data has two fields which have values like 'WAL MART STORES INC' and 'wal-mart-stores-inc'. Users can search the data either in 'walmart' '

search in related multiValued fields

2008-03-18 Thread émile coué
Hi, I am stuck at the search in related multiValued fields. Suppose I have the following data: in-550803 Ibrahim EL AMRANI GFI OUTSOURCIA 2 2 com-550804 Mehdi LAHLOU Smart Development GFI