Realtimeget SolrCloud

2014-01-31 Thread StrW_dev
Hello, I am currently experimenting to move our Solr instance into a SolrCloud setup. I am getting an error trying to access the realtimeget handlers: HTTP ERROR 404 Problem accessing /solr/collection1/get. Reason: Not Found They work fine in the normal Solr setup. Do I need some changes

Re: Realtimeget SolrCloud

2014-01-31 Thread StrW_dev
That seemed to be the issue. I had several other request handlers as I wasn't using the simple /get, but apparently in SolrCloud this handler must be present in order to use the class RealTimeGetHandler at all. Thank you! -- View this message in context:

Shared Stored Field

2014-04-10 Thread StrW_dev
Hello, We have a denormalized index where certain documents point in essence to the same content. The relevance of the documents depends on the current context. E.g. document A has a different boost factor when we apply filter F1 compared to when we use filter F2 (or F3, etc). To support this we

Re: Shared Stored Field

2014-04-10 Thread StrW_dev
Erick Erickson wrote So why not index these boosts in separate fields in the document (e.g. f1_boost, f2_boost etc) and use a function query (https://cwiki.apache.org/confluence/display/solr/Function+Queries) at query time to boost by the correct one? Well its basically one multivalued

Re: Shared Stored Field

2014-04-10 Thread StrW_dev
Erick Erickson wrote Well, you're constructing the URL somewhere, you can choose the right boost there can't you? Yes of course! As example: We have one filter field called FILTER which can have unlimited values acros all documents. Each document as on average 8 values set for FILTER (e.g.

Re: Shared Stored Field

2014-04-11 Thread StrW_dev
Erick Erickson wrote So you're saying that you have B_1 - B_8 in one doc, B_9 - B_16 in another doc etc? Well yes that could work, but this would mean we get a lot of unique dymanic fields, basically equal to the number of documents in our system and I am not sure if that is a good practice.

Block Join Score Highlighting

2014-05-01 Thread StrW_dev
Hello, I am trying out block joins for my index at the moment as I have many documents that are mainly variations of the same search content. In my case denormalization is not an option, so I am using nested documents. The structure looks like this: doc content doc filter boost

Re: Block Join Score Highlighting

2014-05-02 Thread StrW_dev
Mikhail Khludnev wrote Hello, Score support is addressed at https://issues.apache.org/jira/browse/SOLR-5882. Highlighting is another story. be aware of http://heliosearch.org/expand-block-join/ it might somehow useful for your problem. Thx for the reply! My score question is answered

Re: Block Join Score Highlighting

2014-05-05 Thread StrW_dev
I changed the hardcoded BlockJoinChildQParser setting to use the parent scoring and that seems to work. So I think I got rid of the scoring issue :). I also voted for the issue! Didn't find a solution for the highlighting issue at the moment, but I am considering to omit highlighting for now as

Highlighting on Parent document

2014-06-04 Thread StrW_dev
Hi, I am using Block in my index structure as I have many variations of documents, which have the same content. This means my parent document has the content I am searching in and I am filtering and returning on the child documents: parent doc content child1 filter /child

Re: Highlighting on Parent document

2014-06-13 Thread StrW_dev
Apparently it is not supported, so I will try to push it into Jira. -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-on-Parent-document-tp4139784p4141579.html Sent from the Solr - User mailing list archive at Nabble.com.

Highlighting Block Joins

2014-08-15 Thread StrW_dev
Hi, I am using Block in my index structure as I have many variations of documents, which have the same content. I am searching on parent level, but will be returning the child level. Example doc: parent doc content child1 filter /child child2 filter /child /parent

Block join ordering

2015-03-20 Thread StrW_dev
Hi, I am using block joins in my Solr Index. I am searching and returning the child document, but I want to order based on an attribute of the parent. Would that be possible? Example doc: parent doc relevance child1 filter /child child2 filter /child /parent Gr

Re: Block join ordering

2015-03-23 Thread StrW_dev
Hi, No this is unrelated to my issue, I actually made some adjustments to that code part to support some other needs, but at the moment I am not talking about passing scores or something similar. What I want is the order on the parent document. Maybe I can rewrite my query that it produces a

scoreMode ToParentBlockJoinQuery

2015-05-12 Thread StrW_dev
Hi Is it possible to configure the scoreMode of the Parent block join query parser (ToParentBlockJoinQuery)? It seems it's set to none, while i would require max in this case. What I want is to filter on child documents, but still use the relevance/boost of these child documents in the final

Re: scoreMode ToParentBlockJoinQuery

2015-05-12 Thread StrW_dev
I actually did some digging and changed the default ScoreMode in the source code, which actually allowed me to do what I want. So now I use the parent block join query which propogates the score. With the new child transformer for the return field I can even get the child info in the result :).

Replication as backup in SolrCloud

2015-06-22 Thread StrW_dev
Hi, I have a SolrCloud cluster in one data center, but as backup I want to have a second (replicated) cluster in another data center. What I want is to replicate to this second cluster, but I don't want my queries to go to this cluster. Is this possible within SolrCloud? As now it seems to

Field collapsing on parent document

2015-07-13 Thread StrW_dev
Hello, I use a blockjoin document structure with 3 levels (base, path and attributes). I am performing a facet query to count the number of different attributes, but I would like to group or collapse them at path level. I can easily collapse them on base (by using _root_), but I want them to be