Re: MLT Java example for Solr 6.3

2016-12-23 Thread Anshum Gupta
Hi Todd, You can query for similar documents using the MLT Query Parser. The code would look something like: // Assuming you want to use CloudSolrClient CloudSolrClient client = new CloudSolrClient.Builder() .withZkHost(zkHost) .build();

Re: update operation

2016-12-23 Thread Erick Erickson
No, please don't post it. There's no need to up the logging level. Just look for a line going to the /update handler when you post your file at INFO (the default) level. Best, Erick On Fri, Dec 23, 2016 at 10:51 AM, KRIS MUSSHORN wrote: > i set the solr logger to FINEST

Empty Highlight Problem - Solr 6.3.0

2016-12-23 Thread Furkan KAMACI
Hi All, I'm trying highlighter component at Solr 6.3. I have a problem when I index PDF files. I know that given keyword exists at result document (it is returned as result because of a hit at document as well), highlighting field is empty at response. I'm suspicious about it happens documents

Re: update operation

2016-12-23 Thread KRIS MUSSHORN
i set the solr logger to FINEST and reran the update script It produced reams of data but not errors. just a bunch of DEBUG lines would you like me to post it? K - Original Message - From: "Erick Erickson" To: "solr-user"

handling custom content streams

2016-12-23 Thread Vinay B,
For a remote streaming scenario (opening / reading / processing / closing a file contents on the SOLR server based upon the information passed in the request), I'd like to be able to handle the following use case SOLR currently supports three concrete implementations for ContentStream - one for

Re: update operation

2016-12-23 Thread Erick Erickson
OK, next thing. Find your Solr log and tail -f on it while you send you doc. That answers what Solr actually sees .vs. what you think you're sending it ;). If anything. Best, Erick On Fri, Dec 23, 2016 at 10:15 AM, KRIS MUSSHORN wrote: > oops wrong thread in subject >

Re: update operation

2016-12-23 Thread KRIS MUSSHORN
oops wrong thread in subject - Original Message - From: "KRIS MUSSHORN" To: solr-user@lucene.apache.org Sent: Friday, December 23, 2016 1:02:09 PM Subject: Re: copying all fields to one specific single value field Well i guess its still not working.. I'm

Re: Customizing the search result

2016-12-23 Thread Erick Erickson
bq: If we use groupby(supplier), the 80 products per page is not possible anymore. Worst case is you specify 80 groups and 80 docs per group max. Admittedly, this could, in the worst case, lead to 6,400 docs but it covers this case. The question is whether this is fast enough or not. There are

Re: copying all fields to one specific single value field

2016-12-23 Thread KRIS MUSSHORN
Well i guess its still not working.. I'm not getting an error but im not getting an update either... My BASH script: $UUID contains a valid, existing UUID in SOLR. $CURL_RESULT is a valid UTC timestamp curl -X POST -H 'Content-Type: application/json'

Re: copying all fields to one specific single value field

2016-12-23 Thread Erick Erickson
The problem is exactly as stated, sending multiple fields to the _same_ destination in copyField directives requires that the destination field be multiValued, so you can't do what you're describing unless the destination field is multiValued. There is no requirement that faceting be performed on

RE: DataImportHandler | Query | performance

2016-12-23 Thread Prateek Jain J
Thanks a lot Shawn. Regards, Prateek Jain -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: 23 December 2016 01:36 PM To: solr-user@lucene.apache.org Subject: Re: DataImportHandler | Query | performance On 12/23/2016 5:15 AM, Prateek Jain J wrote: > We need

Re: copying all fields to one specific single value field

2016-12-23 Thread KRIS MUSSHORN
work backwards and look at the type definition for fields named content, title, author, and body. one of them has a type defined as multivalued - Original Message - From: "武井宜行" To: solr-user@lucene.apache.org Sent: Friday, December 23, 2016 10:05:01 AM Subject:

copying all fields to one specific single value field

2016-12-23 Thread 武井宜行
Hi,all I would like to copy all fields to one specific single value field. The reason is that I must use facet query.I think that the fileld to use facet query needs not multi value but single value. In order to achive this,I've tried to use CopyFiled in schema.xml,but Error occured. The Schema

Re: update operation

2016-12-23 Thread Comcast
Got it all. Thanks Sent from my iPhone > On Dec 22, 2016, at 3:36 PM, Erick Erickson wrote: > > Well, there are two options: > > 1> set up your autocommit interval in solrconfig.xml and wait for as > long as you set it. Say 30 seconds for softcommit. Note, you must >

Re: DataImportHandler | Query | performance

2016-12-23 Thread Shawn Heisey
On 12/23/2016 5:15 AM, Prateek Jain J wrote: > We need some advice/views on the way we push our documents in SOLR (4.8.1). > So, here are the requirements: > > 1. Document could be from 5 to 100 KB in size. > > 2. 10-50 users actively querying solr with different sort of data. > > 3.

Re: Limit = 0? Does it still calculate facet ?

2016-12-23 Thread Shawn Heisey
On 12/22/2016 9:53 PM, William Bell wrote: > Yeah we have a bunch of facet.fields that we need, but want to > selectively turn a few off based on user input. > Any other way to do it? Use the user input to *include* facet fields instead of trying to *exclude* them. You're already talking about

DataImportHandler | Query | performance

2016-12-23 Thread Prateek Jain J
Hi All, We need some advice/views on the way we push our documents in SOLR (4.8.1). So, here are the requirements: 1. Document could be from 5 to 100 KB in size. 2. 10-50 users actively querying solr with different sort of data. 3. Data will be available frequently to be

JSON Facet on Multi-Valued fields

2016-12-23 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, is it possible to do JSON Facet on Multi-Valued fields? I tried to do it, and I get the following error: "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"],

Re: How to manages diversity in search results in Solr

2016-12-23 Thread Toke Eskildsen
Daisy wrote: > The main issue is: Our page needs 80 products to display from different > suppliers per keyword search. We have some of the search keywords > which only have less than 80 suppliers. Okay. The number of products per supplier gets averaged? So if 1

Re: problem executing a query using lucene directly

2016-12-23 Thread Roxana Danger
That's great!! I will test it and let you know. Roxana On 22 December 2016 at 21:58, Alan Woodward wrote: > Solr wraps its IndexReader in an UninvertingReader, which builds > doc-values structures in memory if required. If you include the solr jar > file on your classpath,