Re: How to achieve combination of features grouping, scoring...

2009-01-14 Thread Norbert Hartl
On Tue, 2009-01-13 at 09:56 -0800, Otis Gospodnetic wrote: Hi, I don't think you can do any of that with Solr as it exists today. My feeling is that you might want to model this new functionality/code after what's in SOLR-236, even though it's not the same thing as yours, or after the

Re: What do we mean by Searcher?

2009-01-14 Thread Manupriya
Thanks a lot Otis! I will definitely look into Lucene for more information on Searchers. WIth respect to Solr, I have a quick question - If I restart Solr server, and search, then definitely a new Searcher would be initialized. As per my understanding, stopping the server should close the

place log4j.properties

2009-01-14 Thread Marc Sturlese
Hey there, I have changed the log system in the nightly build to log4j following this comment: http://wiki.apache.org/solr/SolrLogging Everything is loaded correclty but I am geting this INFO: log4j:WARN No appenders could be found for logger (org.apache.solr.servlet.SolrDispatchFilter).

What can be the reason for stopping solr work after some time?

2009-01-14 Thread an...@iguanait.com
Hi, i'm newbie with solr. We have installed with together with ezfind from EZ Publish web sites and it is working. But in one of the servers we have this kind of problem. It works for example for 3 hours, and then in one moment it stop to work, searching and indexing does not work. We have set

Re: Clustering Carrot2 + Solr

2009-01-14 Thread Grant Ingersoll
No problem, please add any and all comments onto the JIRA issue. Especially your take on the formats, etc. I will probably get to committing by the end of the month. Also, do you have any interest in other clustering algorithms? I have in my head to allow for Mahout to do offline

Issue with dismaxrequestHandler for date fields

2009-01-14 Thread prerna07
Hi, We are facing issues while using dismaxrequesthandler for date fields. We have to define date fields in str name=qf of solrConfig.xml. str name=qf productPublicationDate_product_dt^1.0 productPublicationDate_product_dt[NOW-45DAYS TO NOW]^1.0 /str as soon as we add this in solrConfig.xml,

Question about query sintax

2009-01-14 Thread zayhen
Hello, If I query for 'ferrar*' on my index, I will get 'ferrari' and 'red ferrari' as a result. And that's fine. But if I try to query for 'red ferrar*', I have to put it between double quotes as I want to grant that it will be used as only one term, but the '*' is being ignored, as I don't get

How spell checker accuracy works ??

2009-01-14 Thread Navdeep
Hi all Please suggest me any link or documentation which will help me to understand the working of accuracy on solr server. For example: Accuracy tag is used in Solrconfig.xml file in below manner. searchComponent name=spellcheck class=solr.SpellCheckComponent str

How to do Query on multiple parameters

2009-01-14 Thread prerna07
Our requirement is to make solr query on two or more attributes. for example the search criteria is DaVinci AND price between 10 TO 40 The query i am using is ; ?q=DaVinciq=Price:[10 TO 40] this query is returning me results for first query parameter only (?q=DaVinc). What should be the query

Single facet on multiple attributes

2009-01-14 Thread prerna07
Hi, How can we create single facet on multiple attributes? Thanks, -- View this message in context: http://www.nabble.com/Single-facet-on-multiple-attributes-tp21457259p21457259.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: How to do Query on multiple parameters

2009-01-14 Thread Jana, Kumar Raja
Isn't this a single query on 2 parameters/fields? Try q=DaVinci AND Price:[10 TO 40] -Original Message- From: prerna07 [mailto:pkhandelw...@sapient.com] Sent: Wednesday, January 14, 2009 8:07 PM To: solr-user@lucene.apache.org Subject: How to do Query on multiple parameters Our

How to get XML response from CommonsHttpSolrServer through QueryResponse?

2009-01-14 Thread M.S. Buiter
Dear All, Until now we have used Solr from a servlet in which we built the solr URL, and used response.sendRedirect(url) to send the query to solr, and have it translate its XML results, through XSLT, to HTML. We now want to do the XML/XSL translation process ourselves, and to accomplish that

dealing with logs - feature advice based on a use case

2009-01-14 Thread Marc Sturlese
Hey there, Just want to explain a feature I think would be really useful for the future. In my use case I need a log per core. I spoke about this feature before. My idea was to separate the logs with log4j but saw it was not that easy. In the other thread we spoke about passing the core name to

str name=accuracy0.70/str || Spell Checker Issue !!

2009-01-14 Thread Navdeep
Hi all The search with an accuracy defined by user in SOLRCONFIG.XML is not working for me. I have provided an example below. Please let me know your valuable suggestion. For example: Accuracy tag is used in Solrconfig.xml file in below manner. searchComponent name=spellcheck

Re: What do we mean by Searcher?

2009-01-14 Thread Otis Gospodnetic
Yes, that's correct. If you stop the server then you are stopping the JVM and the searcher goes away with it. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Manupriya manupriya.si...@gmail.com To: solr-user@lucene.apache.org Sent:

Re: Searchable and Non Searchable Fields

2009-01-14 Thread Otis Gospodnetic
Hi, Your schema setup looks fine. George is no the same as Georgeon, so 2) won't match a search for FirstName:George Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: con convo...@gmail.com To: solr-user@lucene.apache.org Sent: Wednesday,

Re: How to do Query on multiple parameters

2009-01-14 Thread Erik Hatcher
or perhaps better is to use fq parameters to separate out filters versus full-text queries: ?q=DaVincifq=Price:[10 TO 40] Erik On Jan 14, 2009, at 9:50 AM, Jana, Kumar Raja wrote: Isn't this a single query on 2 parameters/fields? Try q=DaVinci AND Price:[10 TO 40]

Re: Issue with dismaxrequestHandler for date fields

2009-01-14 Thread Erik Hatcher
On Jan 14, 2009, at 8:24 AM, prerna07 wrote: We are facing issues while using dismaxrequesthandler for date fields. We have to define date fields in str name=qf of solrConfig.xml. str name=qf productPublicationDate_product_dt^1.0 productPublicationDate_product_dt[NOW-45DAYS TO NOW]^1.0 /str

Import data from RSS Feed Question

2009-01-14 Thread Burt-Prior
Hi Solr Users, To learn solr, I worked thru Grant Ingersoll's What's new with Apache Solr article on Developerworks. Everything works and is setup correctly, but when I change the 'url' attribute in the entity declaration to a url on my intranet that requires basic authentication (username and

Re: Indexing the same data in many records

2009-01-14 Thread philmccarthy
Thanks Otis. I tweaked the Solr example app a little and then uploaded a ~55KB document to it a couple of thousand times (changing the ID each time). The solr/data directory was 72MB on disc after adding the document 2000 times, so it seems that the index is growing by approximately 36KB for each

Re: str name=accuracy0.70/str || Spell Checker Issue !!

2009-01-14 Thread Grant Ingersoll
Hmm, as far as I can tell, neither of those should give suggestions, as they both have edit distances less than 0.70. In the Lucene code, I ran the following test against the Levenshtein Distance: public void testJava() throws Exception { float d1 = sd.getDistance(jav, java);

Re: Indexing the same data in many records

2009-01-14 Thread Otis Gospodnetic
Phil, Note that adding the same document multiple times and looking at the index size is not a very good approach. You are adding a fixed number of distinct terms over and over. In real-life scenario you will have a much greater term distribution, and that will affect index size. Otis --

RE: How to do Query on multiple parameters

2009-01-14 Thread prerna07
Thanks, it works..:) Jana, Kumar Raja wrote: Isn't this a single query on 2 parameters/fields? Try q=DaVinci AND Price:[10 TO 40] -Original Message- From: prerna07 [mailto:pkhandelw...@sapient.com] Sent: Wednesday, January 14, 2009 8:07 PM To: solr-user@lucene.apache.org

Re: Issue with dismaxrequestHandler for date fields

2009-01-14 Thread prerna07
Now our qf tag looks like : str name=qf productPublicationDate_product_dt^1.0 /str Still search on any field (?q=searchTerm) gives following error The request sent by the client was syntactically incorrect (Invalid Date String:'searchTerm'). Is this valid to define *_dt (i.e. date fields ) in

Re: Searchable and Non Searchable Fields

2009-01-14 Thread con
Thanks for the reply Otis Even if we dont get both George and Georgeon, Can we have only the firstname as searchable. That is, If I search George, I should get firstname, lastname, and country of the first row, and no values from the third row should be returned Regards Con Otis Gospodnetic