Martin, I have kind of hack approach in mind regarding hiding document from search. So, it's a little bit easier than your task. I'm going to deliver talk about it http://www.apachecon.eu/schedule/presentation/89/ . Frankly speaking, there is no reliable out-of-the-box solution for it. I saw that DocValues has been integrated with FunctionQueries already, but DocValues updates, which sounds like doable thing, has not been delivered yet.
Regards On Mon, Oct 8, 2012 at 11:54 PM, Martin Koch <m...@issuu.com> wrote: > Sure: We're boosting search results based on user actions which could be > e.g. the number of times a particular document has been read. In future, > we'd also like to boost by e.g. impressions (the number of times a document > has been displayed) and other values. > > /Martin > > On Mon, Oct 8, 2012 at 7:02 PM, Mikhail Khludnev < > mkhlud...@griddynamics.com > > wrote: > > > Martin, > > > > Can you tell me what's the content of that field, and how it should > affect > > search result? > > > > On Mon, Oct 8, 2012 at 12:55 PM, Martin Koch <m...@issuu.com> wrote: > > > > > Hi List > > > > > > We're using Solr-4.0.0-Beta with a 7M document index running on a > single > > > host with 16 shards. We'd like to use an ExternalFileField to hold a > > value > > > that changes often. However, we've discovered that the file is > apparently > > > re-read by every shard/core on *every commit*; the index is > unresponsive > > in > > > this period (around 20s on the host we're running on). This is > > unacceptable > > > for our needs. In the future, we'd like to add other values as > > > ExternalFileFields, and this will make the problem worse. > > > > > > It would be better if the external file were instead read in in the > > > background, updating previously read relevant values for each shard as > > they > > > are read in. > > > > > > I guess a change in the ExternalFileField code would be required to > > achieve > > > this, but I have no experience here, so suggestions are very welcome. > > > > > > Thanks, > > > /Martin Koch - Issuu - Senior Systems Architect. > > > > > > > > > > > -- > > Sincerely yours > > Mikhail Khludnev > > Tech Lead > > Grid Dynamics > > > > <http://www.griddynamics.com> > > <mkhlud...@griddynamics.com> > > > -- Sincerely yours Mikhail Khludnev Tech Lead Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>