DIH render html entities
Is there any way to render html entities in DIH for a specific field? Thanks -- Anass
Re: DIH render html entities
Sorry my question was not clear. when I get data from database, some field contains some html special chars, and what i want to do is just convert them automatically. On Fri, May 27, 2011 at 1:00 PM, Gora Mohanty g...@mimirtech.com wrote: On Fri, May 27, 2011 at 3:50 PM, anass talby anass.ta...@gmail.com wrote: Is there any way to render html entities in DIH for a specific field? [...] This does not make too much sense: What do you mean by rendering HTML entities. DIH just indexes, so where would it render HTML to, even if it could? Please take a look at http://wiki.apache.org/solr/UsingMailingLists Regards, Gora -- Anass
Re: copyField of dates unworking?
it seems like reserved key words can't be used as field names did you try to changes your date field name? On Thu, May 26, 2011 at 9:54 PM, Jack Repenning jrepenn...@collab.netwrote: Are there some sort of rules about what sort of fields can be copyFielded into other fields? My schema has (among other things): field name=date type=tdate indexed=true stored=true required=true / field name=user type=string indexed=true stored=true required=true / field name=text type=textgen indexed=true stored=true required=false multiValued=true / ... copyField source=user dest=text/ copyfield source=date dest=text/ The user field gets copied into text just fine, but the date field does not. In case they're handy, I've attached: - schema.xml - the complete schema - solr-usr-question.xml - a sample doc - solr-usr-answer.xml - the result in the searchbase -==- Jack Repenning Technologist Codesion Business Unit CollabNet, Inc. 8000 Marina Boulevard, Suite 600 Brisbane, California 94005 office: +1 650.228.2562 twitter: http://twitter.com/jrep -- Anass
commit configuration
Hi, I'm using DIH and want to perform commits each N processed document, how can I do this? thanks in advance -- Anass
Indexing documents with complex multivalued fields
Hi, I'm new in solr and would like to index documents that have complex multivalued fields. I do want to do something like: doc id1/id car car_id1/car_id car_colorred/car_color /car car car_id2/car_id car_colorgreen/car_color /car ... /doc ... How can i do this with solr thanks in advance. -- Anass
Re: Indexing documents with complex multivalued fields
Thank you Renaud. I appreciate your help On Mon, May 23, 2011 at 4:47 PM, Renaud Delbru renaud.del...@deri.orgwrote: Hi, you could look at this recent thread [1], it is similar to your problem. [1] http://search.lucidimagination.com/search/document/33ec1a98d3f93217/search_across_related_correlated_multivalue_fields_in_solr#1f66876c782c78d5 -- Renaud Delbru On 23/05/11 14:40, anass talby wrote: Hi, I'm new in solr and would like to index documents that have complex multivalued fields. I do want to do something like: doc id1/id car car_id1/car_id car_colorred/car_color /car car car_id2/car_id car_colorgreen/car_color /car ... /doc ... How can i do this with solr thanks in advance. -- Anass
Re: Indexing documents with complex multivalued fields
Thank you very much On Mon, May 23, 2011 at 4:27 PM, Stefan Matheis matheis.ste...@googlemail.com wrote: Anass, what about combining them both into one? so to say: 1|red 2|green synchronized multivalued fields are not possible, afaik. Regards Stefan On Mon, May 23, 2011 at 3:40 PM, anass talby anass.ta...@gmail.com wrote: Hi, I'm new in solr and would like to index documents that have complex multivalued fields. I do want to do something like: doc id1/id car car_id1/car_id car_colorred/car_color /car car car_id2/car_id car_colorgreen/car_color /car ... /doc ... How can i do this with solr thanks in advance. -- Anass -- Anass