Re: DIH render html entities

2011-05-27 Thread anass talby
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  wrote:

> On Fri, May 27, 2011 at 3:50 PM, anass talby 
> 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


DIH render html entities

2011-05-27 Thread anass talby
Is there any way to render html entities in DIH for a specific field?

Thanks
-- 
   Anass


commit configuration

2011-05-26 Thread anass talby
Hi,

I'm using DIH and want to perform commits each N processed document, how can
I do this?
thanks in advance

-- 
   Anass


Re: copyField of dates unworking?

2011-05-26 Thread anass talby
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 wrote:

> Are there some sort of rules about what sort of fields can be copyFielded
> into other fields?
>
> My schema has (among other things):
>
> >  stored="true"  required="true"  />
> >  stored="true"  required="true"  />
> >  stored="true" required="false"
> > multiValued="true" />
> > ...
> >  
> >  
> >
>
> 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


Re: Indexing documents with "complex multivalued fields"

2011-05-23 Thread anass talby
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 
> 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:
> >
> > 
> >   1
> >   
> > 1
> > red
> >   
> >   
> > 2
> > green
> >   
> >   ...
> > 
> >  ...
> >
> >
> > How can i do this with solr
> >
> > thanks in advance.
> >
> > --
> >   Anass
> >
>



-- 
   Anass


Re: Indexing documents with "complex multivalued fields"

2011-05-23 Thread anass talby
Thank you Renaud.

I appreciate your help

On Mon, May 23, 2011 at 4:47 PM, Renaud Delbru wrote:

> 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:
>>
>> 
>>1
>>
>>  1
>>  red
>>
>>
>>  2
>>  green
>>
>>...
>> 
>>  ...
>>
>>
>> How can i do this with solr
>>
>> thanks in advance.
>>
>>
>


-- 
   Anass


Indexing documents with "complex multivalued fields"

2011-05-23 Thread anass talby
Hi,

I'm new in solr and would like to index documents that have complex
multivalued fields. I do want to do something like:


   1
   
 1
 red
   
   
 2
 green
   
   ...

 ...


How can i do this with solr

thanks in advance.

-- 
   Anass