incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Thomas - Wascou <maxime.tho...@wascou.org>
Subject [zeta-dev] Search Component
Date Wed, 12 Jan 2011 07:26:18 GMT
Hi,

I'm on a dev and needed to use the search component that I never used
before.
Actually, it was a pretty tough experience and spend more time understanding
what was generated by  ezcSearch than coding indexation and search queries.

My point was very simple, I've got messages to index with a class like id
(int), message (string).

In SolR, I've defined in my core, only this two fields with id as uniqueKey
and message as defaultSearchField.
At first, I did not set up SolR to use dynamic fields.

There were two problems :
- first, another field was added : ez_search_field_s and I don't why.
- second one, all my fields were automatically suffixed by there type...
which wasn't the SolR type.

Do you know why we have the ez_search_field_s added ?
Why all the field are suffixed (with wrong types) ?
Is it the normal way or did I miss something ?

By the way, the solution was for me to inherit the ezcSearchSolrHandler and
redefine the method index.

Thank you for any kind of answer.

-- 
Maxime
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message