cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene problems with special characters like - _ @ $

soriaedu79
Champ in-the-making
Champ in-the-making
Hello

I have a space with 2 files:

file1.txt
file1-1.txt

I obtain the following results for this querys from the Alfresco explorer:

Query 1
file1-*
Result
file1.txt
Expected
file1-1.txt

Query 2
file1_*
Result
file1.txt
Expected
0 docs

Query 3
file1_
Result
file1.txt
Expected
0 docs
There is a problem with the special characters and I don't know how to fix it. I'm using Alfresco 3.3.

Making the query from a web service I obtain the same results.

I searched the lucene index properties in the repository.properties but I didn't find anything.

Any clue?
11 REPLIES 11

soriaedu79
Champ in-the-making
Champ in-the-making
I can't believe that there is no query to get these files…

Any other clue?

Thanks anyway.

abhashree
Champ in-the-making
Champ in-the-making
hi
i dont know whether there is a single query for searching all the files…
the result is showing like this..
did u find the lucene query path?
if u will find then check and customize as ur requirement.
Thanks
Abhashree