RE: solr to work for my web application

2008-02-13 Thread newBea
Hey hi... Ya the content is generated dynamically from a database...but all data in the xml docs(parameters in it) will have same structure as specified in the schema..e.g all will have uniquekey parameter set as "csid". I am adding particular case studies in my database with all information l

Re: solr to work for my web application

2008-02-13 Thread newBea
"Alternatively you can run solr in the same tomcat as you application." This is the thing I am still searching. However starting solr by using tomcat I am not getting proper steps to follow...when I start tomcat console looks like: Feb 14, 2008 11:02:19 AM org.apache.coyote.http11.Http11AprProto

Re: DisMaxHandler and plone advanced searches

2008-02-13 Thread Mike Klaas
On 13-Feb-08, at 6:11 PM, Leonardo Santagada wrote: On 13/02/2008, at 23:03, Mike Klaas wrote: On 13-Feb-08, at 4:18 PM, Leonardo Santagada wrote: Thanks but I would like to be able to: q= qf=field1 q= qf=field2 ... Try using standardrequesthandler with the dismax query parser. How c

Re: collectionDistribution question

2008-02-13 Thread Mochamad bahri nurhabbibi
thanks for your answer & illustration Bill.. I guess that : during the optimization, the update request will be recorded into one file, then after the optimization, it will be merged. Do u think that I should replicate the master ? to make update can perform seamlessly ? One more thing.. about

Re: DisMaxHandler and plone advanced searches

2008-02-13 Thread Leonardo Santagada
On 13/02/2008, at 23:03, Mike Klaas wrote: On 13-Feb-08, at 4:18 PM, Leonardo Santagada wrote: Thanks but I would like to be able to: q= qf=field1 q= qf=field2 ... Try using standardrequesthandler with the dismax query parser. How can I say to standardrequesthandler to apply each query

Re: DisMaxHandler and plone advanced searches

2008-02-13 Thread Mike Klaas
On 13-Feb-08, at 4:18 PM, Leonardo Santagada wrote: Thanks but I would like to be able to: q= qf=field1 q= qf=field2 ... so I can use dismax facilities (that is, not having that many wildcards and special characters) and search in more than one field (but with different queries) at the sa

Re: DisMaxHandler and plone advanced searches

2008-02-13 Thread Leonardo Santagada
On 13/02/2008, at 20:56, Mike Klaas wrote: On 13-Feb-08, at 6:16 AM, Leonardo Santagada wrote: We would like to use DisMaxHandler but the thing is that on plone advanced search you can search for other fields besides the default one, and in more than one at the same time. So what would be

Re: negation

2008-02-13 Thread alexander lind
I think I will try a hybrid version. One that uses my simple negation for newly joined campaigns, and uses your method to filter out campaigns joined longer ago. A cron:ed script will run every night and add all new user_id:s to the appropriate campaigns. That way I don't have to re-index o

Re: DisMaxHandler and plone advanced searches

2008-02-13 Thread Mike Klaas
On 13-Feb-08, at 6:16 AM, Leonardo Santagada wrote: We would like to use DisMaxHandler but the thing is that on plone advanced search you can search for other fields besides the default one, and in more than one at the same time. So what would be nice is to be able to search with multiple "

Re: negation

2008-02-13 Thread Rachel McConnell
We've been using this in production for at least six months. I have never stress-tested this particular feature, but we usually do over 100k unique hits a day. Of those, most hit Solr for one thing or another, but a much smaller percentage use this specific bit. It isn't the fastest query but as

Re: negation

2008-02-13 Thread alexander lind
Have you done any stress tests on this setup? Is it working well for you? It sounds like something that could work quite well for me too, but I would be a little worried that a commit could time out, and a unique value could be lost for that user. Thank you Alec On Feb 13, 2008, at 1:10 PM

Re: solr to work for my web application

2008-02-13 Thread Thorsten Scherler
On Wed, 2008-02-13 at 05:04 -0800, newBea wrote: > I havnt used luke.xsl. Ya but the link provided by u gives me "Solr Luke > Request Handler Response"... > > is simple string as: csid So you have: csid and > > till now I am updating docs thru command prompt as : post.jar *.xml > http://lo

Re: negation

2008-02-13 Thread Rachel McConnell
We do something similar in a different context. I don't know if our way is necessarily better, but it would work like this: 1. add a field to campaign called something like enteredUsers 2. once a user adds a campaign, update the campaign, adding a value unique to that user to enteredUsers 3. the

negation

2008-02-13 Thread alexander lind
Hi all Say that I have a solr index with 5000 documents, each representing a campaign that users of my site can join. The user can search and find these campaigns in various ways, which is not a problem, but once a user has found a campaign and joined it, I don't want that campaign to eve

RE: Bossting a token with space at the end

2008-02-13 Thread Charlie Jackson
If you haven't explicity set the sort parameter, Solr will default to ordering my score. Information about Lucene scoring can be found here http://lucene.apache.org/java/docs/scoring.html And, specifically, the score formula can be found here http://hudson.zones.apache.org/hudson/job/Lucene-trun

Bossting a token with space at the end

2008-02-13 Thread Yerraguntla
Hi, I have to search on Company Names, which contain multiple words. Some of the examples are Micro Image Systems, Microsoft Corp, Sun Microsystems, Advanced Micro systems. For the above example when the search is for micro, the expected results order is Micro Image Systems Advanced Micro sy

RE: solr to work for my web application

2008-02-13 Thread Fuad Efendi
Hi, As I understood, you need a search for your web application. - How many pages it has? - Is content generated dynamically from a database (for instance)? Another problem: after updating solrschema.xml you need - restart SOLR - reindex SOLR With changing unique ID in schema... I don't rememb

RE: solr to work for my web application

2008-02-13 Thread Lance Norskog
I strongly recommend that you switch from the latest nightly build to the Solr 1.2 release. Lance -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 4:03 AM To: solr-user@lucene.apache.org Subject: Re: solr to work for my web applica

Re: collectionDistribution question

2008-02-13 Thread Bill Au
Your first and second conclusions are right, but not the third one. Solr does not distribute the queries from clients to the slaves. You need to do that yourself (for example, use a load balancer in front of your pool of Solr slaves). I think that when Solr is optimizing the index all update req

DisMaxHandler and plone advanced searches

2008-02-13 Thread Leonardo Santagada
We would like to use DisMaxHandler but the thing is that on plone advanced search you can search for other fields besides the default one, and in more than one at the same time. So what would be nice is to be able to search with multiple "q" each with a specific field. Is this somehow possi

Re: solr to work for my web application

2008-02-13 Thread newBea
I havnt used luke.xsl. Ya but the link provided by u gives me "Solr Luke Request Handler Response"... is simple string as: csid till now I am updating docs thru command prompt as : post.jar *.xml http://localhost:8983/update I am not clear on how do I post xml docs or wud xml docs be posted wh

Re: solr to work for my web application

2008-02-13 Thread Thorsten Scherler
On Wed, 2008-02-13 at 03:42 -0800, newBea wrote: > Hi Thorsten, > > I have my application running on 8080 port with tomcat 5.5.23I am > starting solr on port 8983 with jetty server using command "java -jar > start.jar". > > Both the server gets started...now any search I make on tomcat applic

Re: solr to work for my web application

2008-02-13 Thread newBea
Hi Thorsten, I have my application running on 8080 port with tomcat 5.5.23I am starting solr on port 8983 with jetty server using command "java -jar start.jar". Both the server gets started...now any search I make on tomcat application is interacting with solr very well. The problem is "sche

Re: solr to work for my web application

2008-02-13 Thread newBea
Hi Thorsten, I have my application running on 8080 port with tomcat 5.5.23I am starting solr on port 8983 with jetty server using command "java -jar start.jar". Both the server gets started...now any search I make on tomcat application is interacting with solr very well. The problem is "sche

collectionDistribution question

2008-02-13 Thread Mochamad bahri nurhabbibi
Hello all.. I am new in SOLR.. previously I asked question about searcher, many thanks to acidbriggs for answering my mail. I have a question about collection & distribution from http://wiki.apache.org/solr/CollectionDistribution page from the terminology part, about master/slave The Solr distr

FunctionQuery step function

2008-02-13 Thread Daniel Rosher
Hi All, We'd like to restrict older modified documents with a step function, rather than the suggested method: *recip(rord(creationDate),1,1000,1000). I'm wondering whether the following might do it, and if anyone else has had to solve this before? bf="map(map(modified,0,0,today),0,12monthago,0

Re: solr to work for my web application

2008-02-13 Thread newBea
Many thnks for the reply...Thorsten Scherler-3. I have already visited those sites...but I think have to visit again...wl be back. Thorsten Scherler-3 wrote: > > On Wed, 2008-02-13 at 00:06 -0800, newBea wrote: >> hi >> >> I am new to solr/lucene...I have installed solr nightly version..its >

Bug with...? Interesting...

2008-02-13 Thread Fuad Efendi
Hi, What happened to my website... I am using standard "string" "solr.StrField" to create facets on "country" field, and I added two countries (mistake/test) called "ROBOTS.TXT" and ".ROBOTS.TXT"(mistake!) I see: ROBOTS.TXT(186) .ROBOTS.TXT(157) However, when I go deeper by facets (http://www.t

Re: solr to work for my web application

2008-02-13 Thread Thorsten Scherler
On Wed, 2008-02-13 at 00:06 -0800, newBea wrote: > hi > > I am new to solr/lucene...I have installed solr nightly version..its working > very fine. > > But it is working for the exampledocs present in the example folder of the > nightly version of solr. I need solr to work for my current web > a

Wild card searching not working properly

2008-02-13 Thread Roopesh P Raj
Dear All, I am using solr in my project. But I find that wildcard searching is not working properly. For example, following are the search queries and the corresponding results tomcat* -> 3 results tomca* -> 0 results tom*at -> 0 results tom~at -> 0 results Where as all the queries should have

solr to work for my web application

2008-02-13 Thread newBea
hi I am new to solr/lucene...I have installed solr nightly version..its working very fine. But it is working for the exampledocs present in the example folder of the nightly version of solr. I need solr to work for my web application... Help would be appreciated... Thanks in advance. -- View