Hi,

Check out the new RegexpBoostProcessor 
https://lucene.apache.org/solr/4_2_0/solr-core/org/apache/solr/update/processor/RegexpBoostProcessor.html
 which does exactly this based on a config file

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

24. apr. 2013 kl. 00:22 skrev Furkan KAMACI <furkankam...@gmail.com>:

> Let's assume that I have written an update processor and extracted the
> domain and checked it with my predefined list. What should I do at indexing
> process and select?
> 
> 
> 2013/4/15 Alexandre Rafalovitch <arafa...@gmail.com>
> 
>> You may find the work and code contributions by Jan Høydahl quite
>> relevant. See the presentation from 2 years ago:
>> 
>> http://www.slideshare.net/lucenerevolution/jan-hoydahl-improving-solrs-update-chain-eurocon2011
>> 
>> One of the things he/they contributed is URLClassify Update Processor,
>> it might be quite relevant.
>> 
>> https://lucene.apache.org/solr/4_1_0/solr-core/org/apache/solr/update/processor/URLClassifyProcessor.html
>> 
>> Regards,
>>   Alex.
>> Personal blog: http://blog.outerthoughts.com/
>> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
>> - Time is the quality of nature that keeps events from happening all
>> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
>> book)
>> 
>> 
>> On Sun, Apr 14, 2013 at 4:59 PM, Furkan KAMACI <furkankam...@gmail.com>
>> wrote:
>>> I have crawled some internet pages and indexed them at Solr.
>>> 
>>> When I list my results via Solr I want that: if a page has a URL(my
>> schema
>>> includes a field for URL) that ends with .edu, .edu.az or .co.uk I will
>>> give more priority to them.
>>> 
>>> How can I do it in a more efficient way at Solr?
>> 

Reply via email to