Re: Version conflict during data import from another Solr instance into clean Solr

2017-04-25 Thread deansg
Hi, I ran into the same problem. Chris' first solution worked for us, however the second solution on its own doesn't work, as the conflict error arises before the update processors' code is even reached. However, creating an alias for the _version_ field in the dataconfig file, together with an upd

dataimport to a smaller Solr farm

2017-03-21 Thread deansg
Hello, My team often uses the /dataimport & /dih handlers to move items from one Solr collection to another. However, all the times we did that, the number of shards in the new collection was always the same or higher than in the old. Can /dataimport work if I have less shards in the new collectio

Splitting large non-stored field

2017-01-27 Thread deansg
Hi, Many of our documents contain a unique, non-indexed text field that contains html-content which we display to our users (let's call it "html_content"). The reason we store this field in Solr in the first place is because of Solr's highlighting capabilities: the query itself is against the non-h

Searching for a term which isn't a part of an expression

2016-12-14 Thread deansg
We would like to enable queries for a specific term that doesn't appear as a part of a given expression. Negating the expression will not help, as we still want to return items that contain the term independently, even if they contain full expression as well. For example, we would like to search fo

"OnException" extension to SearchComponents / finalize on search components

2015-12-04 Thread deansg
I was recently writing a SearchComponent that performs a certain action in the prepare method when in distributed context, and then must perform another action after the query finished running to clean up (one of the finishStage calls). I realized that if the SearchHandler on the server throws an e

Re: Limiting number of parallel queries per user

2015-11-18 Thread deansg
Just an update: my problem turned out to be that in the search-component, I decremented the entry for the user running a query in the first call to finishStage, and didn't realize that most of the query processing and time occurs only in later stages. Because the entry was decremented so quickly,

Limiting number of parallel queries per user

2015-11-17 Thread deansg
Hello, My team is trying to write a SearchComponent that will limit the amount of queries a certain user can run in parallel at any given moment. We want to do this to avoid a certain user from slowing Solr down to much. In the search component, we can identify the user sending the request, and