1 Reply Latest reply on Nov 4, 2011 12:17 PM by Sanne Grinovero

    Querying on texts

    Prashanth ga Newbie

      I guess the examples listed in the project documentation talk about querying on objects. These objects need to annotated with "@Indexed @ProvidedId" for this to happen.  I tried these examples and it workd.

       

      But is there a way to store simple strings in the cache like xpaths and index them and search them ?

        • 1. Re: Querying on texts
          Sanne Grinovero Master

          there is not currently, but I think your request makes sense. I'm wondering, how would you expect to specify advanced options such as Index.STORE, custom Analyzers, etc .. . Any suggestion?

           

          Right now to do what you want you could store a single object having a String property annotated as you want.