Probleme lucene

"Nicolas Lafaury" <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi all

I want search a name in a particular field.

This is my containerList definition.


<content:declareContainerList name='myLuceneContainerList'
  title="myContainerList"
>
  <content:declareContainer>
    <content:declareField name='number'
      title="number"
      type="SmallText"
    />
    <content:declareField name='title'
      title="title"
      type="SmallText"
    />
  </content:declareContainer>
</content:declareContainerList>


I want retrieve all containers where the field "title" is equal to
"Hello".

The syntax to search is : 

	Hello AND fieldname: title.

But my problem is how I can find all containers where the field "number"
is equals to "2" and the field "title" is equal to "hello".

Is anyone has a idea?

Thanks.

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