Block join query with solr 4.6.0

2018-01-16 Thread Aashish Agarwal
Hi, I am using block join query to get parent object using filter on child. But when the number of results are large than the query fails with ArrayIndexOutOfBoundException. e.g in range query price:[0 TO 20] fails but price[0 TO 10], price:[10 TO 20] works fine. I am using solr 4.6.0. Thanks,

Re: How to implement the function of W/N in Solr?

2018-01-16 Thread Rick Leir
Xi Might this be something you can solve with pf or pf2? Google solr pf will find this for you. Adjust the slop to allow for terms which are not immediately adjacent. Rick On January 15, 2018 3:04:40 AM EST, "xizhen.w...@incoshare.com" wrote: >Hello, > >I'm using

Solr 7 spatial search and WKT

2018-01-16 Thread Leila Deljkovic
Hi all, I need to index multiple POLYGONS/MULTIPOLYGONS per document; I’m trying to use multiValued RptWithGeometrySpatialField and I’m getting this error: Exception writing document id leila_test to the index; possible analysis error: DocValuesField "gridcell_rpt" appears more than once in

Re: cursorMark and Solrcloud

2018-01-16 Thread Webster Homer
count is queryResponse.getResults().getNumFound() The code stops when the cursorMark is equal to the nextCursorMark so how can it exceed the numFound? setting the sort order to just the unique id and the code works. I would try to create an example case, but I'm under a deadline and have to get

Re: cursorMark and Solrcloud

2018-01-16 Thread Webster Homer
sorry solr_returned is the total count of the documents retrieved from the queryResponse. So if I ask for 200 rows at at time it will be the increment of all the 200 numberRetrieved += queryResponse.getResults().size(); Where queryResponse is a solrj QueryResponse On Mon, Jan 15, 2018 at 6:11

Need help with solr highlighting feature

2018-01-16 Thread Aashish Agarwal
Hello, I am using solr highlighting feature on multivalued field containing korean words.The feature is not working as expected. Search is working fine but in case of highlighting it gives response as . I am storing term vector for the field and it is also stored=true. Please reply soon. Need

Synonyms with levenshtein distance

2018-01-16 Thread LK
Hi i am working on nickname mapping thru SynonymFilterFactory. For example, if i search for john, i will get john, jonny, jon, jack, jackie, jacky and johnny from the SynonymFilterFactory and i will like to apply fuzzy search/levenshtein distance on the return nicknames such as jonny~, jon~,

Re: Got unexpected results.

2018-01-16 Thread Erick Erickson
Screen shots are generally stripped by the mail server, you'll have to try something different. Best, Erick On Mon, Jan 15, 2018 at 8:49 PM, Sanjeet Kumar wrote: > Thanks, Erick! Please find the attached screenshot of this debug query > (title:("to order this

Re: strdist on nested doc field

2018-01-16 Thread Erick Erickson
Also note that Solr field names really shouldn't contain the period. >From the ref guide: "Field names should consist of alphanumeric or underscore characters only and not start with a digit..." names with dots won't be rejected, but aren't guaranteed to be supported in all situations either.

Re: modify number of Shard

2018-01-16 Thread Erick Erickson
If you're using the default compositeId routing then this will not be possible. You can increase to any multiple of 4 using SPLITSHARD, but you can't just add an arbitrary number of shards. If you're using the implicit router then you can add as many shards as you want. Best, Erick On Tue, Jan

modify number of Shard

2018-01-16 Thread Sushil K Tripathi
Team, We have a existing setup of Solr Cluster and we need to modify the current number of Shard from 4 to 6. Can somebody confirm if it is possible to modify the number of Shard or i just need to recreate the whole collection. With Warm Regards... Sushil K. Tripathi

Re: strdist on nested doc field

2018-01-16 Thread Mikhail Khludnev
I notice the space after the 2nd +. It's not a really big issue, but it should be recognized as a syntax error (I believe), it might mean that your http layer may grab pluses and turn them into spaces, try to replace them to %2b. Regarding the exception, this is what I tried to protect from with

Re: strdist on nested doc field

2018-01-16 Thread Dariusz Wojtas
Please see the answers below. On Tue, Jan 16, 2018 at 8:40 AM, Mikhail Khludnev wrote: > On Tue, Jan 16, 2018 at 10:30 AM, Dariusz Wojtas > wrote: > > > Hello Mikhail, > > > > I've tried it and the query executes, but it does not treat strdist() as > a > >