Ant build question

2007-04-18 Thread Andrew Nagy
Hello, I would like to play with patch SOLR-69 and am trying to rebuild solr using ant with some difficulties. When I try to run ant, I get an error saying that it can't find junit, but junit is in the ant lib directory. I had a file called ant-junit.jar in the lib directory and copied it to

limiting the rows returned for a query

2007-04-18 Thread mike topper
Hello, I have a question that I couldn't really find the answer to and dont really know if its possible currently within solr. I want to do a simple query to the solr index. something like q=stateid:1 countryid:1 but i'm really only concerned with getting the record above and below a cert

Re: Ant build question

2007-04-18 Thread Erik Hatcher
On Apr 18, 2007, at 10:39 AM, Andrew Nagy wrote: Hello, I would like to play with patch SOLR-69 and am trying to rebuild solr using ant with some difficulties. When I try to run ant, I get an error saying that it can't find junit, but junit is in the ant lib directory. I had a file called

Re: Ant build question

2007-04-18 Thread Erik Hatcher
to clarify this a bit... ant-junit.jar is the task in Ant, but JUnit's library itself (i.e. TestCase, etc) is not there, only in junit.jar from junit.org. Erik On Apr 18, 2007, at 1:49 PM, Erik Hatcher wrote: On Apr 18, 2007, at 10:39 AM, Andrew Nagy wrote: Hello, I would like t

Re: Ant build question

2007-04-18 Thread Andrew Nagy
Erik Hatcher wrote: ant-junit.jar != junit.jar rename it back, and grab junit.jar from junit.org Easy enough. Thanks! Andrew

RE: strange results from lucene

2007-04-18 Thread Bill Tantzen
Thanks to all that responded! This did the trick. I used admin/analysis.jsp to determine how solr indexed my data and how solr parses my query. I used a QueryParser and applied the same filters to my query, and now my results match exactly. Thanks again! > -Original Message- > From: [E

Error when try to find_by_solr

2007-04-18 Thread solruser
Hi everyone, Below is the error the I received when I tried to query the solr using find_by_solr. below bold shows where I output the response header from the solr server >> Post.find_by_solr("amit") query "(amit) AND type_t:Post" response "{'responseHeader'=>{'status'=>0,'QTime'=>0,'params'=>{'

Re: Error when try to find_by_solr

2007-04-18 Thread Yonik Seeley
On 4/18/07, solruser <[EMAIL PROTECTED]> wrote: Below is the error the I received when I tried to query the solr using find_by_solr. below bold shows where I output the response header from the solr server >> Post.find_by_solr("amit") query "(amit) AND type_t:Post" response "{'responseHeader'=>{

Requests per second/minute monitor?

2007-04-18 Thread Walter Underwood
Is there a good spot to track request rate in Solr? Has anyone built a monitor? wunder -- Search Guru Netflix

Facet Browsing

2007-04-18 Thread Jennifer Seaman
Does anyone have any sample code (php, perl, etc) how to setup facet browsing with paging? I can't seem to get things like facet.mincount to work. Thank you. Jennifer Seaman

Re: Error when try to find_by_solr

2007-04-18 Thread solruser
Hi Yonik, I verified the url that mentioned in the mail and I got the right result on the uri. The field type for the primary key field is string. And below is the definition for *_i in the schema.xml file -Amit Yonik Seeley wrote: > > On 4/18/

Re: Requests per second/minute monitor?

2007-04-18 Thread Jeff Rodenburg
Not yet from us, but I'm thinking about a nagios plugin for Solr. It would be tomcat-based for the http stuff, however. On 4/18/07, Walter Underwood <[EMAIL PROTECTED]> wrote: Is there a good spot to track request rate in Solr? Has anyone built a monitor? wunder -- Search Guru Netflix

Re: Requests per second/minute monitor?

2007-04-18 Thread Walter Underwood
I noticed that admin/stats.jsp gives the total requests since startup. If the monitor keeps the previous value, it can calculate the rate at the client. wunder On 4/18/07 2:03 PM, "Jeff Rodenburg" <[EMAIL PROTECTED]> wrote: > Not yet from us, but I'm thinking about a nagios plugin for Solr. It

Re: Error when try to find_by_solr

2007-04-18 Thread Yonik Seeley
On 4/18/07, solruser <[EMAIL PROTECTED]> wrote: The root of the problem is that your "integer" field did not have an integer in it. Did you change the type of the schema after you indexed the data? If so, start over. The other possibility is that when you added the data, you put in a non

Re: Requests per second/minute monitor?

2007-04-18 Thread Yonik Seeley
On 4/18/07, Walter Underwood <[EMAIL PROTECTED]> wrote: I noticed that admin/stats.jsp gives the total requests since startup. If the monitor keeps the previous value, it can calculate the rate at the client. Something based off of access logs is more universal since it works across many differ

Re: Facet Browsing

2007-04-18 Thread Koji Sekiguchi
Hi Jennifer, > I can't seem to get things like facet.mincount to work. We had same issue when we used Solr incubator version. Now we are using trunk version of Solr and the issue was gone. Hope this helps, Koji

Re: Facet Browsing

2007-04-18 Thread Yonik Seeley
On 4/18/07, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > I can't seem to get things like facet.mincount to work. We had same issue when we used Solr incubator version. Now we are using trunk version of Solr and the issue was gone. Hmmm, good point. The wiki is often updated at the same time as

resin faile to start with solr.

2007-04-18 Thread James liu
It work well when i use tomcat with solr now i wanna test resin,,,i use resin-3.1.0 now it show me [03:47:34.047] WebApp[http://localhost:8080] starting [03:47:34.691] WebApp[http://localhost:8080/resin-doc] starting [03:47:34.927] WebApp[http://localhost:8080/solr1] starting [03:47:35.051] Sol

help need on words with special characters

2007-04-18 Thread Doss
Hi, I am new to solr(and 0 in lucene), my doubt is how can i protect words with special characters from tokenizing, sat for example A+, A1+ etc. because when i searched for "group A" i am getting results with A+ aswell as A1+ and so on, is there any special way to index these type of words?

Leading wildcards

2007-04-18 Thread Maarten . De . Vilder
hi, we have been trying to get the leading wildcards to work. we have been looking around the Solr website, the Lucene website, wiki's and the mailing lists etc ... but we found a lot of contradictory information. so we have a few question : - is the latest version of lucene capable of handlin