Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] Re: Change the size of the keyword that can be used for searching

From: Tim Brody <tdb01r AT ecs.soton.ac.uk>
Date: Tue, 01 Jul 2008 13:01:42 +0100


Threading: Re: [EP-tech] Change the size of the keyword that can be used for searching from tdb01r AT ecs.soton.ac.uk
      • This Message

*** http://www.eprints.org/tech.php/id/%3C486A1CA6.3050505%40ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Jun Zhao wrote:
> Jun Zhao wrote:
>> > Hi,
>> >
>> > I am using EPrints 3.0.1-beta-2. I have some metadata fields > 

>> containing keywords of 2 characters long. I tried to change the > 
>> parameter "FREETEXT_MIN_WORD_SIZE" in the *↵*
>> perl_lib/EPrints/Index.pm > file, and restarted the indexer service 

>> and apache. However, after one > hour, I still could not search 
this 
>> metadata filed with values of 2 > characters long. Did I miss 
anything?
>> >
>> > Thank you very much for your help!
>> >
>> > All the best,
>> >
>> > Jun
>>
>> Hi,
>>
>> You will need to reindex:
>>
>> ./bin/epadmin reindex [repoid] eprint
>>
>> Cheers,
>> Tim.
>>  
> Hi Tim,
>
> Thank you for your response. I tried this command. But after 2 days of 
> indexing, the search is still not working.
>
> I am considering to run the command to erase all the existing 
> full_text index, and reindex:
>
> ./bin/epadmin erase_fulltext_index repository_id
>
> But I am sure what the consequence would be.
>
> I have also tried to change "FREETEXT_MIN_WORD_SIZE" into 
"1" and I am 
> re-indexing the repository. Would this help? I don't think either of 
> my keywords "wt" or "av" are included in the ignore 
list, or are they?
>
> Any suggestion would be greatly appreciated!
I realise this is confusing but indexing code is duplicated in 
cfg.d/indexing.pl.

Have you changed:
$c->{indexing}->{freetext_min_word_size} = 3;

To 1 as well?

There might be other places causing problems too - I'll have to investigate.
(We have an open bug w.r.t. short terms, for instance searching for a 
username with less than 4 chars doesn't work at the moment)

All the best,
Tim.


[index] [prev] [next] [options] [help]