AnsweredAssumed Answered

lucene search on custom attribute

Question asked by wciesiel on Nov 23, 2007
Latest reply on Nov 26, 2007 by eyestreet

I've created custom model (<namespace uri="custom.model" prefix="custom"/>)with such an aspect:

    <aspect name="custom:article">
      <title>Someco Webable</title>
        <property name="custom:ReleaseDate">
          <title>Released Date</title>
        <property name="custom:Internal">

I am trying to create webscript returning all articles within certain path in the repository with certain value of boolean parameter custom:Internal. How can I achieve this? I am trying something like

var query = "PATH:\"/app:company_home/cm:Articles//*\" AND TYPE:\"{custom.model}pressrelease\"" +
" AND @custom\:Internal:\"true\"";

but it's not working :(