I asked Katherine whether there was a way around the problem you've come
across and she said that the indexer that strips off such punctuation
characters, which is why searching for these characters included in your
search string will not work.
She suggested for you to try out the Lucene indexer to see whether that
one will maybe handle punctuation.
Diego Spano wrote:
> Hi Anupama, the problem is that GS always split the patterns when it finds a
> punctuation sign!!!
> -----Mensaje original-----
> De: ak19 [mailto:email@example.com]
> Enviado el: jueves, 14 de agosto de 2008 23:42
> Para: Diego Spano
> Asunto: Re: Search string
> Hi Diego,
> I don't know helpful this suggestion may be, but as a work-around would URL
> encoding the slash-sign serve your purpose? The forward slash is represented
> as %2F in URL encoding.
> Diego Spano wrote:
>> Hi Greenstone team,
>> I have a question related to search strings. I have a metadata named
>> DocNumber that will have values like these (first part is a
>> consecutive number and second part is the year):
>> Title: Doc1
>> DocNumber: 330/98
>> Title: Doc2
>> DocNumber: 120/07
>> Title: Doc3
>> DocNumber: 205/08
>> So, If I index these values GS will divide each number in two parts
>> because it will not index puntuation chars. How can I index the whole
>> string as one?. How can I search for words that include punctuation
>> chars?. the same thing happens if I use 330-98.
>> I want to search 330/98 and get a result, but I can□t!!!!
>> Diego Spano