Re: ways to check if document is in a huge search result set

2017-09-12 Thread Derek Poh
I see. Thank you. On 9/13/2017 2:36 PM, Michael Kuhlmann wrote: Am 13.09.2017 um 04:04 schrieb Derek Poh: Hi Michael "Then continue using binary search depending on the returned score values." May I know what do you mean by using binary search? An example algorithm is in Java method java.uti

Re: ways to check if document is in a huge search result set

2017-09-12 Thread Michael Kuhlmann
Am 13.09.2017 um 04:04 schrieb Derek Poh: > Hi Michael > > "Then continue using binary search depending on the returned score > values." > > May I know what do you mean by using binary search? An example algorithm is in Java method java.util.Arrays::binarySearch. Or more detailed: https://en.wiki

RE: multi language search engine in solr

2017-09-12 Thread Mugeesh Husain
thanks Junte Zhang, its really helpful for me -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: ways to check if document is in a huge search result set

2017-09-12 Thread Derek Poh
Hi Michael "Then continue using binary search depending on the returned score values." May I know what do you mean by using binary search? On 9/12/2017 3:08 PM, Michael Kuhlmann wrote: So you're looking for a solution to validate the result output. You have two ways: 1. Assuming you're sortin

Re: Solr returning same object in different page

2017-09-12 Thread Jason Gerlowski
Is it possible that your indexed data contains duplicated or nearly-duplicated documents. (See: https://cwiki.apache.org/confluence/display/solr/De-Duplication) Also, I'm curious whether you see the same duplicates when making a single, larger query. Can you run a single query that returns the n

Sorting by distance resources with WKT polygon data

2017-09-12 Thread Grondin Luc
Hello, I am having difficulties with sorting by distance resources indexed with WKT geolocation data. I have tried different field configurations and query parameters and I did not get working results. I am using SOLR 6.6 and JTS-core 1.14. My test sample includes resources with point coordina

Re: Search if the indexed data is present in the query or not

2017-09-12 Thread Susheel Kumar
I am not able to follow what's the use case/ask is, but you already have the query. You can search/highlight whatever you want to do with the query string. Remember you search a single query against multiple (hundreds of documents) On Tue, Sep 12, 2017 at 1:31 AM, Nithin Sreekumar wrote: > My q

Re: Solr returning same object in different page

2017-09-12 Thread ruby
Hi Shawn, No index change is happening in this case. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How Solr knows the Cores it has on startup?

2017-09-12 Thread simon
It will look for cores based on the discovery of core.propeties files. Full details at the link below. https://lucene.apache.org/solr/guide/6_6/defining-core-properties.html#defining-core-properties There is a gotcha in what you want to do in that on an unload, the core.properties file is delete

Re: Solr returning same object in different page

2017-09-12 Thread Shawn Heisey
On 9/12/2017 12:42 PM, ruby wrote: > I'm running into a issue where an object is appearing twice when we are > paging. My query is gives documents boost based on field values. First query > returns 50 object. Second query is exactly same as first query, except > getting next 50 objects. We are noti

Solr returning same object in different page

2017-09-12 Thread ruby
I'm running into a issue where an object is appearing twice when we are paging. My query is gives documents boost based on field values. First query returns 50 object. Second query is exactly same as first query, except getting next 50 objects. We are noticing that few objects which were returned b

Solr returning same object in different page

2017-09-12 Thread ruby
I'm running into a issue where an object is appearing twice when we are paging. My query is gives documents boost based on field values. First query returns 50 object. Second query is exactly same as first query, except getting next 50 objects. We are noticing that few objects which were returned b

Re: SolrCloud 5.3.1 "IndexWriter is closed"

2017-09-12 Thread Susheel Kumar
During Reload collection, it does close the IndexWriter and opens a new. So looks like with live traffic (is it heavy traffic, how many qps?) and collection reload, its running into a situation when IndexWriter is not able to open up again. Not sure if this issue might have been fixed in 5 or 6.x

How Solr knows the Cores it has on startup?

2017-09-12 Thread Shashank Pedamallu
Hi, I wanted to know how does Solr pick up cores on startup. Basically, what I would like to try is Read cores created from one Solr instance from another Solr instance. i.e., * I will have 2 Solr Instances SOLR1, SOLR2. Only SOLR1 is started. * I’m creating a core (Core1) using SOLR1.

Re: SolrCloud 5.3.1 "IndexWriter is closed"

2017-09-12 Thread Kelly, Frank
The schema change doesn¹t seem to be making any difference - just the act of a reload whilst handling live traffic. The reload takes about 30 seconds and soon after (within a few seconds) we start to see IndexWriter closed exceptions -Frank Frank Kelly Principal Software Engineer Identity Prof

Re: Solr list operator

2017-09-12 Thread Walter Underwood
That is not the way to do it. It is slow and will not scale. Wildcards are usually not a good idea in Solr. The simplest way is to search for the numbers as words. Index the string “1 2 4 33”. Search for one of those words, like listOfIDs:4. It is better to index the numbers as an array, but I

Re: solr join query

2017-09-12 Thread Susheel Kumar
You may want to look at fetch function of Streaming expressions http://lucene.apache.org/solr/guide/6_6/stream-decorators.html Thanks, Susheel On Tue, Sep 12, 2017 at 11:11 AM, Brian Yee wrote: > I have one solr collection used for auto-suggestions. If I submit a query > with q="coffe", I will

solr join query

2017-09-12 Thread Brian Yee
I have one solr collection used for auto-suggestions. If I submit a query with q="coffe", I will get a responses back with documents that have a field suggestion="coffee", "coffee table", "coffee maker", etc. I want to know if those suggestions would have results if I used them to query a second

Re: Solr list operator

2017-09-12 Thread Nick Way
Thank you very much Erik, Walter and Susheel. To be honest I didn't really understand the suggested routes (due to my limited knowledge) but managed to get things working by inserting my data with a double comma at the beginning eg: custom field "listOfIDs" = ",,1,2,4,33" and then searching for

Re: SolrCloud 5.3.1 "IndexWriter is closed"

2017-09-12 Thread Susheel Kumar
Kelly - If you do not make any change to schema and just reload your collection, does it work fine? How much time it takes to reload the collection? I am suspecting some conflict with commit frequency (5mins) and collection reload. Thnx On Tue, Sep 12, 2017 at 6:59 AM, Kelly, Frank wrote: > N

Re: SolrCloud 5.3.1 "IndexWriter is closed"

2017-09-12 Thread Kelly, Frank
No - these are new terms for new documents we will be adding later so no need to reindex old documents. Frank Frank Kelly Principal Software Engineer Identity Profile Team (SCBE, Traces, CDA) HERE 5 Wayside Rd, Burlington, MA 01803, USA 42° 29' 7" N 71° 11' 32" W

Re: SolrCloud 5.3.1 "IndexWriter is closed"

2017-09-12 Thread Rick Leir
Frank, I assume you re-index everything after changing schema.xml? cheers -- Rick On 2017-09-11 04:38 PM, Kelly, Frank wrote: Just wondering if anyone has seen this before and might understand why this is happening When we deploy a new schema.xml adding some new search terms we get the dre

Solr Trainer Needed

2017-09-12 Thread Bernard Szlachta
We need a trainer to deliver Solr course in Taiwan. If you interested please ping me *Bernard Szlachta **(**安博) * *NobleProg**®* | *The World's Local Training Provider* *Mobile *(+86) 152-0139-4024 *Skype *"nobleprog" *Office*(+86)01084549609 *Web: *www.nobleprog.cn Switchboard : (+86) 400-

Re: ways to check if document is in a huge search result set

2017-09-12 Thread Michael Kuhlmann
So you're looking for a solution to validate the result output. You have two ways: 1. Assuming you're sorting by the default "score" sort option: Find the result you're looking for by setting the fq filter clause accordingly, and add "score" the the fl field list. Then do the normal unfiltered sea