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.solr
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
> You may find the work and code contributions by Jan Høydahl quite
> relevant. See the presenta
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 quit
LUtil has methods
that return the URL suffix for a given URL.
http://wiki.apache.org/solr/FunctionQuery#query
-Original message-
> From:Furkan KAMACI
> Sent: Sun 14-Apr-2013 22:59
> To: solr-user@lucene.apache.org
> Subject: Listing Priority
>
> I have crawled
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?