Re: Delete document

2008-03-07 Thread Maximilian Hütter
Feng Gao schrieb: Try this: deleteid05991/id/delete As I remember, we only can delete one doc once, but I am not sure. Give that a try later. Feng Yes, you can only delete one document by id at once The command posted before won't work anyway, as delete.../delete is already one command

Admin ping

2008-03-07 Thread Doug Steigerwald
Came in this morning to find some alerts that the admin interface has basically died. Everything was fine until about 4am. No updates or queries going on at that time (this is a QA machine). Anyone know why it might die like this? Solr 1.3 trunk build from Jan 23rd, 4GB heap size, 4x3.2GHz

Re: Admin ping

2008-03-07 Thread Yonik Seeley
Jetty unpacks the war in a sub-dir of /tmp by default (which can get cleaned by other things). https://issues.apache.org/jira/browse/SOLR-118 devs: any reason we shouldn't create example/work and make sure it gets in the distributions? -Yonik On Fri, Mar 7, 2008 at 7:19 AM, Doug Steigerwald

Re: Admin ping

2008-03-07 Thread Benson Margulies
Suggestion, another ant target that creates an example dir outside of the tree? I was a little bit surprised by the following scenario: 1) svn co 2) ant example 3) edit schema.xml 4) svn st In the future, I'll run cp -r before I start messing with the example. I'm +1 for the work directory.

Question about facet in solr

2008-03-07 Thread émile coué
Hi, I am new in solr, and I use the SolrJ Client, If I stores into solr doc1 is doc2 documents, having for the fields champX respectively the values valeurA, valeurB. When I use facet on the champX field, it returned the following info: value (2) valeura (1) valeurb (1) a (1) b (1)

Re: Question about facet in solr

2008-03-07 Thread Erik Hatcher
My hunch is you want to set that to a string field so it is not tokenized - whereas it looks like you have a tokenized field with word delimiter and stemming. I'm not sure how value got in there (is this French stemming?). With string type, case will be exact in your facets, not all

Re: Question about facet in solr

2008-03-07 Thread émile coué
Hi, Can you give me more explanation, what must I do, I'm new in solr? Thanks Erik Hatcher wrote: My hunch is you want to set that to a string field so it is not tokenized - whereas it looks like you have a tokenized field with word delimiter and stemming. I'm not sure how value

Re: Composite key for uniqueKeyId

2008-03-07 Thread Jon Baer
Hi Norberto, This sounds exactly what Im looking to do, do you have an example? (Keep in mind Im using data-config.xml - DataImporter) Im interested in merging different types of content in, ie: NEWS12345 VIDEO12345 So Id like to end up w/ different keys per type if possible. Thanks. - Jon

Re: Illegal xml/html character; unicode problems near solr

2008-03-07 Thread Yonik Seeley
On Fri, Mar 7, 2008 at 12:30 PM, Peter Cline [EMAIL PROTECTED] wrote: The following is a snippet of a link to use a facet: search-faceted.html?q=[* TO *]amp;facet=trueamp;rows=25amp;fq=name_facet:#34;Brasseur de Bourbourg, abb%C3%A9, 1814-1874, former owner#34; These characters are

Re: Admin ping

2008-03-07 Thread Chris Hostetter
: another ant target that creates an example dir outside of the tree? The example is just an example - most of our users will never run ant example anyway (it's done before the release is packaged up) making ant example copy the example configs to ./build/example and the only packaging thta

Re: Illegal xml/html character; unicode problems near solr

2008-03-07 Thread Peter Cline
Nicolas and Yonik, Thank you both for your excellent responses--this fixed my problem. Now it's time to go back and remove all the hacks I was using to pin this thing together without proper utf-8 support. Thanks again, Peter [EMAIL PROTECTED] wrote: I think Tomcat defaults to the

Re: Problem with html code inside xml

2008-03-07 Thread Latj
When I use HTML::Entities to encode my text, I get this error: SEVERE: org.xmlpull.v1.XmlPullParserException: could not resolve entity named 'para' Its complaining about finding: para; in my text. Anyone know why this is a problem? Jérôme Etévé-2 wrote: If I understand, you want to

Re: Problem with html code inside xml

2008-03-07 Thread Reece
Just use cdata to have the parser ignore the html characters. http://www.w3schools.com/xml/xml_cdata.asp -Reece On Fri, Mar 7, 2008 at 5:11 PM, Latj [EMAIL PROTECTED] wrote: When I use HTML::Entities to encode my text, I get this error: SEVERE: org.xmlpull.v1.XmlPullParserException:

Re: Problem with html code inside xml

2008-03-07 Thread Yonik Seeley
On Fri, Mar 7, 2008 at 5:11 PM, Latj [EMAIL PROTECTED] wrote: When I use HTML::Entities to encode my text, I get this error: SEVERE: org.xmlpull.v1.XmlPullParserException: could not resolve entity named 'para' Its complaining about finding: para; in my text. Anyone know why this is

Solr-J problem

2008-03-07 Thread oleg_gnatovskiy
Hello. I just started using solrJ recently and ran into a problem. I execute the following line after creating a SolrQuery: SolrDocumentList solrResults = engine.query(solrQuery).getResults();. solrResults.size() is always 10, while solrResults.getNumFound() varies based on the query. My question

Re: Question about facet in solr

2008-03-07 Thread Erik Hatcher
In schema.xml, set champX to be string rather than, probably, text. Reindex your docs. Now how do your facets come out? Erik On Mar 7, 2008, at 11:42 AM, émile coué wrote: Hi, Can you give me more explanation, what must I do, I'm new in solr? Thanks Erik Hatcher wrote: My

Re: Composite key for uniqueKeyId

2008-03-07 Thread Jon Baer
That definitely sounds like the proper way to go + will try. Im not too concerned w/ my keys coming back just that I can't seem to run the DataImportHandler w/o one. I was able to temporarily get around it by returning it in the entity query. Ie: entity query=select

Re: Solr-J problem

2008-03-07 Thread Otis Gospodnetic
I don't have the sources in front of me, but isn't there a setRows(int) method that you can call before running the query? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: oleg_gnatovskiy [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent:

Re: ranking on Multivalued fields

2008-03-07 Thread Otis Gospodnetic
Umar, I'm not sure what you mean by a subfield, can you explain please? As for your second question, just add category:X to your query and you'll get matches ordered/ranked by score by default. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message

Re: Composite key for uniqueKeyId

2008-03-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
Good to hear that people are using DatImportHandler In a couple of days, we are giving another patch which is cleared by our QA with better error handling, messaging and a lot of new features. A committer will have to decide on when it is good enough to be committed --Noble On Sat, Mar 8, 2008

Re: Composite key for uniqueKeyId

2008-03-07 Thread Vijay Rao
I am also looking forward to get this checked into the trunk. Will there be a patch with Solr1.2 support? Cheers Vijay On Sat, Mar 8, 2008 at 10:11 AM, Jon Baer [EMAIL PROTECTED] wrote: That definitely sounds like the proper way to go + will try. Im not too concerned w/ my keys coming back