cancel
Showing results for 
Search instead for 
Did you mean: 

Search with Share

liuk88
Champ in-the-making
Champ in-the-making
Hi all,
In Share I've uploaded 2 documents:

Rosso.txt

… And…

Rossi.txt

If now I search…

rossi*

… The result is…

Rossi.txt
Rosso.txt

Rather odd, i.m.h.o.
Is there a way to perform an exact search and/or configure alfresco/share in order to perform an exact search as the default one?
Thanks
4 REPLIES 4

liuk88
Champ in-the-making
Champ in-the-making
I Found proably the solution, prefix the term with "=" right?

bone
Champ on-the-rise
Champ on-the-rise
Hi,

in my opinion the search for rossi* should just returns your Rossi.txt file because Alfresco has no implementation for a fuzzy search. If you search for ross* then Alfresco should return both documents. Could it be that the text "rossi" is part of the content or metadata of your Rosso.txt document?

liuk88
Champ in-the-making
Champ in-the-making
Hi bone, the text in rosso.txt is "qwerty" and in rossi.txt is "asdfgh", so i think it's not for a content/metadata.
So seems there is a fuzzy search? I resolved putting the = before the word as found in the alfresco docs, that says:
"For example, =part will only match the exact term "part". If you use =part* it will match additional terms, like "partners"
http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Frm-searchsy...

bone
Champ on-the-rise
Champ on-the-rise
that's weird. I have created both documents in my environment and the search for rossi* just shows the Rossi.txt document. The search for ross* shows both documents (that's what I've been expecting). As you can see in the <a  href="http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/rm-searchsyntax-fuzzy.html">official documentation</a> there is no fuzzy search implemented.
So I don't really understand what's happening there. But I think your problem is solved because, as you already found out, the search with "=" matches the exact terms.