Re: Conditional Add/Overwrite a document

2015-10-31 Thread Gili Nachum
Amazing. Thanks Brendan. On Thu, Oct 29, 2015 at 12:31 AM, Brendan Humphreys < bren...@canva.com.invalid> wrote: > Hi Gili, > > It sounds like Solr's DocBasedVersionConstraintsProcessor is what you are > looking for: > > > https://cwiki.apache.org/confluence/display/solr/Updating+Parts+of+Documen

How to retrieve single child document with block join

2015-10-31 Thread Yangrui Guo
Hi I want to know if I can get the child document only if it contains the query term. Currently I could retrieve all child document at once with query expansion. Does solr support individual child retrieval? Thanks, Yangrui

Re: How to retrieve single child document with block join

2015-10-31 Thread Mikhail Khludnev
Hello Yangrui, The question is not clear so far, but it sounds like it can be achieved via fl=[child ... childrenFilter=field:], https://cwiki.apache.org/confluence/display/solr/Transforming+Result+Documents On Sat, Oct 31, 2015 at 8:52 AM, Yangrui Guo wrote: > Hi > > I want to know if I c

Re: Question on index time de-duplication

2015-10-31 Thread Zheng Lin Edwin Yeo
Hi Shamik, I'm using most of the configuration out of the box, but I'm also looking at tagging an identifier or something so that it will always show the latest documents. At first I thought it will automatically show the one that is indexed later, but seems that it is not the case. It will just

contributor request

2015-10-31 Thread Alex
Hi, Please kindly add me to the Solr wiki contributors list. The app we're developing (Jitbit Help) is using Apache Solr to power our knowledge-base search engine, customers love it. (we were using MS Fulltext indexing service before, but it's a huge PITA). Thanks

Re: contributor request

2015-10-31 Thread Alex
Oh, shoot, forgot to include my wiki username. Its "AlexYumas" sorry about that stupid me On Sat, Oct 31, 2015 at 10:48 PM, Alex wrote: > Hi, > > Please kindly add me to the Solr wiki contributors list. The app we're > developing (Jitbit Help) is using Apache Solr to power our knowledge-base > s

Solr getting irrelevant results when use block join

2015-10-31 Thread Yangrui Guo
Hi I'm using solr to search imdb database. I set the parent entity to include the name for each actor/actress and child entity for his movies. Because user might either enter a movie or a person I did not specify which entity solr should return. When I just search q=Kate AND Winslet without block j

Re: Solr getting irrelevant results when use block join

2015-10-31 Thread Walter Underwood
This will probably work better without child documents and joins. I would denormalize into actor documents and movie documents. At least, that’s what I did at Netflix. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Oct 31, 2015, at 1:17 PM, Yangru

Re: Problem with the Content Field during Solr Indexing

2015-10-31 Thread Zheng Lin Edwin Yeo
Hi Shruti, >From what I understand, the /update/extract handler is for indexing rich-text documents, and does not support ".png" files. It only supports the following files format: pdf, doc, docx, ppt, pptx, xls, xlsx, odt, odp, ods, ott, otp, ots, rtf, htm, html, txt, log If you use the default

Re: contributor request

2015-10-31 Thread Erick Erickson
Looks like Steve added you today, you should be all set. On Sat, Oct 31, 2015 at 12:50 PM, Alex wrote: > Oh, shoot, forgot to include my wiki username. Its "AlexYumas" sorry about > that stupid me > > On Sat, Oct 31, 2015 at 10:48 PM, Alex wrote: > >> Hi, >> >> Please kindly add me to the Solr w

Kate Winslet vs Winslet Kate

2015-10-31 Thread Yangrui Guo
Hi today I found an interesting aspect of solr. I imported IMDB data into solr. The IMDB puts last name before first name for its person's name field eg. "Winslet, Kate". When I search "Winslet Kate" with quotation marks I could get the exact result. However if I search "Kate Winslet" or Kate AND W

Re: Kate Winslet vs Winslet Kate

2015-10-31 Thread Erick Erickson
There are a couple of anomalies here. 1> kate AND winslet What does the query look like if you add &debug=true to the statement and look at the "parsed_query" section of the return? My guess is you typed "q=name:kate AND winslet" which parses as "q=name:kate AND default_search_field:winslet" and

Re: Kate Winslet vs Winslet Kate

2015-10-31 Thread Yangrui Guo
Thanks for the reply. Putting the name: before the terms did the work. I just wanted to generalize the search query because users might be interested in querying Kate Winslet herself or her movies. If user enter query string "Kate Winslet movie", the query q=name:(Kate AND Winslet AND movie) will r

Re: Kate Winslet vs Winslet Kate

2015-10-31 Thread Daniel Valdivia
Perhaps q=name:("Kate AND Winslet") q=name:("Kate Winslet") Sent from my iPhone > On Oct 31, 2015, at 10:21 PM, Yangrui Guo wrote: > > Thanks for the reply. Putting the name: before the terms did the work. I > just wanted to generalize the search query because users might be > interested in q

Re: Kate Winslet vs Winslet Kate

2015-10-31 Thread Erick Erickson
Yeah, that's actually a tough one. You have no control over what the user types, you have to try to guess what they meant. To do that right, you really have to have some meta-data besides what the user typed in, i.e. recognize "kate" and "winslet" are proper names and "movies" is something else an