AnsweredAssumed Answered

multiple options in one query

Question asked by unknown-user on Aug 3, 2006
Latest reply on Aug 3, 2006 by andy
Hello there.

I have a doubt of doing multiple conditions in a query. I have this:

"PATH:\"app:company_home/cm:services//.\"");
So i get all the nodes of the specific path.

But from the results, i would like to obtain just the ones which in its name has the name "BIRD", so i would like to do so in the query, instead of having to do a if-else sentence. That would be


AND TEXT:\"BIRD \"

And the hole search…

sp.setQuery("PATH:\"app:company_home/cm:services//.\" AND TEXT:\"BIRD\"");

But the resultSet is empty, when should give 3 results.

What is wrong?

Thanks
Bird

Outcomes