Re: Empty Highlight Problem - Solr 6.3.0

2016-12-24 Thread Ahmet Arslan
Hi,

Did you try increasing hl.maxAnalyzedChars ?

Ahmet



On Friday, December 23, 2016 10:47 PM, Furkan KAMACI  
wrote:
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 which has large content. How can
I solve this problem. I've tried Standard Highlighter and FastVector
Highlighter (termVectors, termPositions, and termOffsets are enabled for hl
fields) but result is same?

Kind Regards,
Furkan KAMACI


JSON facet API with date range and TZ parameter

2016-12-24 Thread ncoult
We are looking at switching over our facets from the old style to the new
JSON facet API, which looks really cool.  The old style facets supported the
“TZ” option for range facets on date fields, which allows, for example, a
facet gap of “+1DAY” to count days correctly in a local time zone.  I can’t
figure out if the JSON facet API support this?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/JSON-facet-API-with-date-range-and-TZ-parameter-tp4311140.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: copying all fields to one specific single value field

2016-12-24 Thread Noriyuki TAKEI
I'm sorry.As everyone pointed out,the filed named "content" is a type
defined mulitvalued.

I solved this problem.

Thanks

2016-12-24 2:19 GMT+09:00 Erick Erickson [via Lucene] <
ml-node+s472066n4311074...@n3.nabble.com>:

> 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 single-valued
> fields.
>
> But this seems like an XY problem. From the naming of your fields
> (suggest_facet) I'm not sure you want to deal with faceting at all.
> Are you trying to implement autosuggest perhaps? It would be useful if
> you stated the user problem you're trying to solve, because on the
> surface it looks like you're not going down the best path.
>
> That may just mean I don't understand the problem at all. And I'm
> quite ignorant of what special handling is necessary for autosuggest
> in Japanese so may be way off base here.
>
> Best,
> Erick
>
> On Fri, Dec 23, 2016 at 7:14 AM, KRIS MUSSHORN <[hidden email]
> > wrote:
>
> > 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: "武井宜行" <[hidden email]
> >
> > To: [hidden email]
> 
> > Sent: Friday, December 23, 2016 10:05:01 AM
> > Subject: copying all fields to one specific single value field
> >
> > 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 is as bellow.
> > ※I'd like use facet query to "suggest_facet" field.
> >
> > 
> > 
> > 
> >  />
> > 
> > 
> > 
> > 
> >
> > When I tried to index,thf following error ocuured.
> >
> > 2016-12-22 03:47:38.139 WARN (coreLoadExecutor-6-thread-3) [ ]
> > o.a.s.s.IndexSchema Field suggest_facet is not multivalued and
> destination
> > for multiple copyFields (6)
> >
> > How do I Solve this in order to copy all fields to one specific single
> > value field?
> >
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/copying-all-fields-
> to-one-specific-single-value-field-tp4311062p4311074.html
> To start a new topic under Solr - User, email
> ml-node+s472066n472068...@n3.nabble.com
> To unsubscribe from Solr - User, click here
> 
> .
> NAML
> 
>



-- 
・‥…━━━…‥
サイオステクノロジー株式会社
技術部
クラウドソリューショングループ
武井 宜行
〒106-0047  東京都港区南麻布二丁目 12 番 3 号 サイオスビル
TEL:03-6401-5314 (直通) 03-6401-5117 (部代表)
URL:http://www.sios.com/

■SIOSの最新情報はこちらから!「いいね!」をお待ちしています■
(SIOS Technology):http://www.facebook.com/SIOSTechnology
(OSSよろず相談室):http://www.facebook.com/OSSyorozu

■Twitter公式アカウント■
https://twitter.com/#!/SIOS_Technology
・‥…━━━…‥




--
View this message in context: 
http://lucene.472066.n3.nabble.com/copying-all-fields-to-one-specific-single-value-field-tp4311062p4311135.html
Sent from the Solr - User mailing list archive at Nabble.com.