Thanks Chris. Could something like that be implemented in c# ? :)
Does anyone has any link where I can start digging? This is not an urgent matter, just something to investigate and implement in a near future. Frederico -----Original Message----- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: terça-feira, 9 de Março de 2010 23:39 To: solr-user@lucene.apache.org Subject: Re: search and count ocurrences : I need to implement a search where i should count the number of times : the string appears on the search field, : : ie: only return articles that mention the word 'HP' at least 2x. ... : Is there a way that SOLR does this type of operation for me? you'd have to implement it in a custom QParser -- if all you are worried about is simple TermQuery style matches, then this should be fairly trivial using SpanNearQuery. -Hoss