Dear Anshum,

Thanks for the reply.

I managed to reach to the user folder by the following query :
"PATH:\"/app:company_home/app:user_homes/cm:userfolder\""
It is the string parameter that i'm passing and it does stored the file in
the userfolder.

Thanx
Richa



Anshum-2 wrote:
> 
> Perhaps we could help you with the query formation in case you make your
> case a little clear viz. how do you index and what do you search for?
> 
> --
> Anshum
> Naukri Labs!
> 
> On Fri, Aug 1, 2008 at 7:44 PM, richa <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi!!
>>
>> I'm abst new to Lucene.
>> I'm trying to create a query using Lucene search to get the correct
>> reference for a folder.
>> The query is fine if it has to go to the parent folder. But if i try to
>> reach to the child folder, it throws an error.
>> For example
>> Query query = new Query(Constants.QUERY_LANG_LUCENE,
>> PATH:\"/app:company_home/app:user_homes\"");
>>  This gets me the reference for the parent folder.
>>
>> However, i'm not able to reach to any user defined folder.  I tried
>> various
>> combinations
>> like  PATH:\"/app:company_home/app:user_homes/app:userfolder\""
>> or
>>  PATH:\"/app:company_home/app:user_homes/cm:userfolder""
>> or
>>  PATH:\"/app:company_home/app:user_homes:/cm:userfolder""
>>
>> I'm sorry if i'm not able to make any sense.
>>
>> Any help is really appreciated.
>>
>> Thanks,
>> Richa
>> --
>> View this message in context:
>> http://www.nabble.com/Lucene-search-Format-tp18775247p18775247.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> --
> The facts expressed here belong to everybody, the opinions to me.
> The distinction is yours to draw............
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Lucene-search-Format-tp18775247p18786232.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to