RE: container search via lucene on n fields

"Khue Nguyen" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Hi,

 

In Jahia 4.1 there is a ChainedJahiaSearcher class with which you can create
AND , OR,  ... logics between several container searchers.

In your case, there will be one container searcher for each field ( state,
city, zip ) and a logical AND between them.

 

Regards,

 

Khue

 

 

  _____  

From: Diego Rossi [mailto:[email protected]] 
Sent: vendredi, 16. juin 2006 13:22
To: [email protected]
Subject: container search via lucene on n fields

 

Hi.

I have to implement a search form like the following:

http://test.antideweb.com/bogen.portals/us/dealers/index.php

where state, name and zip are fields related to a dealer jahia container.

I would like to know if it possible in Jahia to perform a search on more
than one container field at the same time and, if not, if you have some
workaround to suggest me.

As far as I can understand from this post it does not seem possible:
http://www.mail-archive.com/[email protected]/msg00481.html

 

The search string, in its longest mode, will be something like

dealer_state = 'Texas' AND dealer city = 'Austin' AND dealer zip = '88*'

 

Thankyou very much, bye.

 

 

 




Diego Rossi

 <mailto:[email protected]> [email protected]
 <http://www.mytria.it/> www.mytria.it

   

TURN RIGHT IDEAS INTO ACTION 


TRIA Srl
via Svizzera, 6 
35127 Padova
Italy

tel. +39 049 8705979
fax +39 049 8705981


 

 

 


  _____  

Il contenuto del presente messaggio di posta elettronica, ed ogni eventuale
documento a quest’ultimo allegato, è rivolto unicamente al destinatario cui
è indirizzato e può contenere dati ed informazioni la cui riservatezza è
tutelata. Sono vietati la riproduzione, l’utilizzo e la diffusione dei dati
e delle informazioni contenuti nel presente messaggio senza espressa
autorizzazione da parte del destinatario. Chiunque abbia ricevuto il
presente messaggio per errore è pregato di provvedere senza ritardo a
segnalarlo, contattandoci via telefono, fax o e-mail. 

Information contained in this e-mail or attachments is intended only for the
addressee and may be privileged, confidential or otherwise protected from
disclosure. Copy, use or dissemination of data and information contained in
this e-mail can be authorized only by the addressee. If You have received
this e-mail by mistake, please notify us immediately by telephone, fax or
e-mail.
image001.gif (image/gif, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.