Unable to search two words seperated with a colon

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2011 11:05 PM
I have a document that contains the two words seperated by a colon– abc:xyz.
I am unable to search for these two words together. For example, entering the following in the Explorer search box produces no results:
'abc:xyz'
"abc:xyz"
abc\:xyz
"abc\:xyz"
Of course I am able to search abc or xyz.
Please let me know how do I search these two words together separated by a colon.
I am unable to search for these two words together. For example, entering the following in the Explorer search box produces no results:
'abc:xyz'
"abc:xyz"
abc\:xyz
"abc\:xyz"
Of course I am able to search abc or xyz.
Please let me know how do I search these two words together separated by a colon.
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2011 06:23 AM
Hi Ashokharnal ,
In Alfresco when any property is defined using Content Model , you can also decide whether you want to maintain indexes for the property value.
Indexes has four parameters out of which one is tokenized . see the code snippet below
<property name="custom:name">
<title>Name</title>
<type>d:text</type>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
In your case if you make tokenised as false , you should be able to search complete string.
Thanks,
In Alfresco when any property is defined using Content Model , you can also decide whether you want to maintain indexes for the property value.
Indexes has four parameters out of which one is tokenized . see the code snippet below
<property name="custom:name">
<title>Name</title>
<type>d:text</type>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
In your case if you make tokenised as false , you should be able to search complete string.
Thanks,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2011 07:56 AM
Dear Amita Bhandari,
I am sorry to have taken your time. The two words abc:xyz are written within the pdf document and are not the value of any property.
I am unable to search these two words together as explained above.
Thanking you
I am sorry to have taken your time. The two words abc:xyz are written within the pdf document and are not the value of any property.
I am unable to search these two words together as explained above.
Thanking you

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2011 08:00 AM
Hi Ashokharnal ,
Can you check one thing , open contentModel.xml file located in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/Model.
Make the highlight change there.
<property name="cm:content">
<type>d:content</type>
<mandatory>false</mandatory>
<!– Although content is marked as indexed atomically it may end up asynchronous –>
<!– if the content conversion will take too long. Content that does not require conversion –>
<!– to UTF8 test/plain will always be indexed atomically –>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
Start the server and varify the result.
Thanks,
Can you check one thing , open contentModel.xml file located in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/Model.
Make the highlight change there.
<property name="cm:content">
<type>d:content</type>
<mandatory>false</mandatory>
<!– Although content is marked as indexed atomically it may end up asynchronous –>
<!– if the content conversion will take too long. Content that does not require conversion –>
<!– to UTF8 test/plain will always be indexed atomically –>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
Start the server and varify the result.
Thanks,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2011 01:42 AM
Dear Amita Bhandari,
Many thanks for you help. It did the work.
One more question, if you can please help? Is it possible to know the current status of indexing
in Alfresco, ie whether document content has been fully indexed or indexing task still remains to be
completed?
Thank you once again,
Ashok Kumar Harnal
Many thanks for you help. It did the work.
One more question, if you can please help? Is it possible to know the current status of indexing
in Alfresco, ie whether document content has been fully indexed or indexing task still remains to be
completed?
Thank you once again,
Ashok Kumar Harnal
