[greenstone-users] Re: Search string

From Anupama of Greenstone Team
DateThu Aug 21 13:44:19 2008
Subject [greenstone-users] Re: Search string
In-Reply-To (D043F9BE135149B68764BFD598514A2E-orsna-gov-ar)
Hi,
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.

Good luck,
Anupama


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:ak19@cs.waikato.ac.nz]
> 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.
>
> Regards,
> Anupama
>
>
>
> 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!!!!
>>
>> TIA
>>
>> Diego Spano
>>
>