Phrase Query only forward direction

2017-06-11 Thread Aman Deep Singh
Hi, I'm using a phrase query ,but it was applying the phrase boost to the query where terms are in reverse order also ,which i don't want.Is their any way to avoid the phrase boost for reverse order and apply boost only in case of terms are in same sequence Solr version 6.5.1 e.g.

Re: Searching under multiple field

2017-06-11 Thread Zheng Lin Edwin Yeo
Hi Ravi, Thanks for your suggestion. I'm looking at the edismax query parser, but could not figure out how we can streamline the query using that. As for using copyField, it is probably not a good idea, as it will increase the index size. Regards, Edwin On 12 June 2017 at 09:34, ANNAMANENI

Re: Highlighter not working on some documents

2017-06-11 Thread David Smiley
Probably the most common reason is the default hl.maxAnalyzedChars -- thus your highlightable text might not be in the first 51200 chars of text. The first Solr release with the unified highlighter had an even lower default of 10k chars. On Fri, Jun 9, 2017 at 9:58 PM Phil Scadden

Re: Searching under multiple field

2017-06-11 Thread ANNAMANENI RAVEENDRA
Hi, Use dismay or edismax query parser Or Use copy field concept Thanks Ravi On Sun, 11 Jun 2017 at 9:32 PM, Zheng Lin Edwin Yeo wrote: > Hi, > > Currently, I'm using the following query to search for the same word under > different fields > >

Searching under multiple field

2017-06-11 Thread Zheng Lin Edwin Yeo
Hi, Currently, I'm using the following query to search for the same word under different fields http://localhost:8983/solr/collection1/select?q=(field1_s:*test* OR field2_s:*test* OR field3_s:*test* OR field4_s:*test*) AND field1_tc:"Main"* Is there a way to better streamline the query, so that

RE: including a minus sign "-" in the token

2017-06-11 Thread Phil Scadden
Looking at the Classic tokenizer I notice that it does not split on hyphen if there is a number in the word. Pretty much exactly what I want. What are the downsides to using Classic? -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Monday, 12 June 2017 2:44 a.m.

Re: fq performance

2017-06-11 Thread mganeshs
Thanks for suggestions Erick, Micheal and all. I guess using of single field as access_control will make sense. we can have access_control_user as multi value field to hold user list ( hold permission given to user alone individually ) and another field access_control_group as multi value field to