09-23-2009 11:59 AM
10-27-2009 12:34 PM
So, which alfresco version are you working with?
In my Labs 3.0 the name field is declared with <tokenised>both</tokenised>, which should mean that both the single tokens and the complete name will be stored:
<property name="cm:name">
<title>Name</title>
<type>d:text</type>
<mandatory enforced="true">true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
<constraints>
<constraint ref="cm:filename" />
</constraints>
</property>
May <tokenised>both</tokenised> solve your problem?
Beside this i recognized a serious problem with indexing of 'd:text' and 'd:content' fields. In some cases (maybe during index merge processes) the index content is cuttened, so the creator admin will be cropped to "admi" in the index and will not be searchable with "admin" any longer! Currently I'm trying to get deeper into this.
10-27-2009 03:14 PM
10-27-2009 07:05 PM
Searches for files with underscores in the file name are currently unpredictable and returning no results in some cases……
<stored>true</stored>
<tokenised>both</tokenised>
10-28-2009 12:23 PM
Morgand,
Regarding:Searches for files with underscores in the file name are currently unpredictable and returning no results in some cases……
I found the behavior is quite predictable but wierd.
If you have not already tried, should try this in your custom property "filename_property" :
<stored>true</stored>
<tokenised>both</tokenised>
This would let the fields be stored in the index and then look into the Lucene index with Luke - http://www.getopt.org/luke/
That would give you an idea of how the fields are being tokenized and how you could search.
I did the same and observed the following:
1. test_name is tokenized as "test", "name"
2. test_my_name is => "test", "my", "name"
3. test_name10 is => "test_name10"
4. test_my_name10 => "test", "my_name10"
5. test_again_my_name10 => "test", "again", "my_name10"
Haven't tried out test_10 still.
10-30-2009 02:14 PM
A) When choosing an index to load into luke, i look in ..\alfresco_data\alf_data\lucene-indexes\workspace\SpacesStore Why are there 5-10 different folders in there?
B) When i choose an index and in luke, look at the available fields I don't see filename, why not?
10-30-2009 02:36 PM
10-30-2009 07:57 PM
10-15-2010 10:35 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.