Lucene and empty spaces.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2008 09:49 AM
I have a query which searchs a full directory. A input defines which directory will be searched. But when using a value with an empty space ("Sony Project"), I get no results. The query works otherwise without any problem.
My query that works:
TYPE:"{http://www.alfresco.org/model/content/1.0}content" +PATH:"/app:company_home/cm:Rentals/cm:Movies/cm:Action//*" -TYPE:"{http://www.alfresco.org/model/content/1.0}folder" +@cm\:name:"*a*"
No results, no warning/error:
TYPE:"{http://www.alfresco.org/model/content/1.0}content" +PATH:"/app:company_home/cm:Rentals/cm:Movies/cm:Other Genres//*" -TYPE:"{http://www.alfresco.org/model/content/1.0}folder" +@cm\:name:"*a*"
Thanks for your support.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2008 10:51 AM
Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2008 03:27 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2008 04:15 AM
I have the following:
TYPE:"{http://www.alfresco.org/model/content/1.0}folder" +PATH:"/app:company_home/cm:Cars/*/*"+@cm\:name:"*Class_x0020_A*"+(PARENT:"workspace://SpacesStore/bbe63ba8-8e62-4708-bfc5-cea3c94cb021")
It does give no result. When I give "Class" it gives the result, which is "Class A". This also gives nothing: "*ass_x0020_*".And what about custom properties? I have ship_name and make the following
+@cm\:erpnumber:"TITANIC"
which should give a result, but nothing. In Advanced Search I added it as custom property and I got the result. I must say that it is an aspect property and not embedded in the model (which is folder) itself (so not a model that inherits from folder).Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2009 10:58 AM
could you tell me if you have solved this problem ?
And how ?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2009 09:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2009 08:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2009 09:54 AM
I want to search all nodes having the property 'cor:JobState' equal to 'Approve By A'.
If I enter :
@cor\:JobState:"Approved By A" -> no result
@cor\:JobState:"Approved" -> nodes having the property equal to 'Approve By A' are correctly returned. But nodes having the property equals to 'Approve by B' are also returned. So this is not a solution
Encoding the space character does not work:
@cor\:JobState:"Approved_x0020_By_x0020_A" -> no result.
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2009 01:44 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2009 07:02 AM
Did you try with the node browser?
Yes I tested through the JAVA API and the node browser.
