Re: Delete document

2008-03-07 Thread Maximilian Hütter
Feng Gao schrieb: > Try this: 05991 > > 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 ... is already one command and you can't have multipl

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 X

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 <[E

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. I

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) Thing

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 al

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 "v

Illegal xml/html character; unicode problems near solr

2008-03-07 Thread Peter Cline
Hi all, I'm new to the list, but I've been struggling with this problem for some time. I'm getting Illegal xml/html character errors and I'm trying to track down the source. The characters in question seem to be in the 128-159 (decimal) range, which is illegal in XML. The characters are mostl

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 > *]&facet=true&rows=25&fq=name_facet:"Brasseur de > Bourbourg, abb%C3%A9, 1814-1874, former owner"" > > These characters are correctly s

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

2008-03-07 Thread nicolas . dessaigne
I think Tomcat defaults to the operating system default, e.g. cp1252 on a classic windows. You need to add an attribute URIEncoding="UTF-8" to the Connector you use in the server.xml conf. Nicolas -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Yonik Se

Re: mixing solr date and magic date words

2008-03-07 Thread Chris Hostetter
: I would like to send this query to Solr: : : date:[2008-02-02T16:45:58Z-90DAY TO 2008-02-02T16:45:58Z-3DAY] the trunk has code to support date math expressions on arbitrary dates (in solr 1.2 date math only worked relative to "NOW") but there is currently a bug in which milliseconds (which ar

Re: What is default Date time format in Solr

2008-03-07 Thread Chris Hostetter
: I heard Solr Date time format is 24 hours. that is correct. : emf.artist:[2007-12-31T22:20:00Z TO 2007-12-31T22:39:00Z] : : I am not able to get the content what I expected. : : But, I tried with following query:- : : emf.artist:[2007-12-31T10:20:00Z TO 2007-12-31T10:39:00Z] Is your emf.

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 tht

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 operati

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: ¶ in my text. Anyone know why this is a problem? Jérôme Etévé-2 wrote: > > If I understand, you want to ke

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.XmlPullParserExcepti

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: ¶ in my text. Anyone know why this >

Re: Composite key for uniqueKeyId

2008-03-07 Thread Chris Hostetter
I believe Norberto ment he was handling it in his update client code -- before sending the docs to Solr. Something that *seems* possible but I've never actaully tried is writting a "ConcatTokenFilterFactory" that queues up all the tokens and joins them together (using some confiured string, de

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:

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: BTW, the DataImportHandler seems t

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 Fr

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 a

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 bac