Re: [Possible Bug] 5.5.0 Startup script ignoring host parameter?

2016-03-31 Thread Bram Van Dam
On 30/03/16 16:45, Shawn Heisey wrote: > The host parameter does not control binding to network interfaces. It > controls what hostname is published to zookeeper when running in cloud mode. Oh I see. That wasn't clear from the documentation. Might be worth adding such a parameter to the startup

Complex Sort

2016-03-31 Thread ~$alpha`
I have a column in Mysql and I need to do a complex sorting in Solr. Considering below column |175#40|173#17|174#13|134#11|17#8|95#4|64#3|116#3|343#0| where 175 indicates values to be matches and 40 implies score. So if logged in user value is 175 he will give a score of 40 and if the value

Re: Facet by truncated date

2016-03-31 Thread Emir Arnautovic
00:0Z" truncated_date_s:'2016-03-31' or truncated_date_i:20160331 (this should be more memory efficient) \-- /Yago Riveiro ![](https://link.nylas.com/open/m7fkqw0yim04itb62itnp7r9/4708d221e9a24b519bab6 3936013ce59) On Mar 31 2016, at 10:08 am, Emir Arnautovic emir.arnauto...@se

Re: Complex Sort

2016-03-31 Thread Emir Arnautovic
Hi, Not sure if I fully understood your case, but here are some ideas: - if you have small number of ids you can have score_%id% field that can be used for sorting - if number of ids is large you can use sort by function to parse score data and find right score - if number of results is small,

Facet by truncated date

2016-03-31 Thread Robert Brown
Hi, Is it possible to facet by a date (solr.TrieDateField) but truncated to the day, or even the hour? If not, are there any other options apart from storing that truncated data in another (string?) field? Thanks, Rob

Re: Complex Sort

2016-03-31 Thread ~$alpha`
I am not sure how to use "Sort By Function" for Case. |10#40|14#19|33#17|27#6|15#6|19#5|7#2|6#1|29#1|5#1|30#1|28#1|12#0|20#0| Can you tell how to fetch 40 when input is 10. -- View this message in context: http://lucene.472066.n3.nabble.com/Complex-Sort-tp4267155p4267165.html Sent from the

Re: Facet by truncated date

2016-03-31 Thread Robert Brown
to calculate the truncated data (https://wiki.apache.org/solr/UpdateRequestProcessor) or add the field in indexing time. date:"2016-03-31T12:00:0Z" truncated_date_s:'2016-03-31' or truncated_date_i:20160331 (this should be more memory efficient) \-- /Yago Riveiro ![](https://link

Re: Facet by truncated date

2016-03-31 Thread Yago Riveiro
:"2016-03-31T12:00:0Z" truncated_date_s:'2016-03-31' or truncated_date_i:20160331 (this should be more memory efficient) \\-- /Yago Riveiro ![](https://link.nylas.com/open/m7fkqw0yim04itb62itnp7r9/4708d221e9a24b519bab6 3936013ce59) On Mar 31 2016, at

Re: issue with 5.3.1 and index version

2016-03-31 Thread Shalin Shekhar Mangar
The Lucene54 is the codec name. The luceneVer in solrconfig.xml is the compatibility version which is used by some analyzers/tokenizers/token filters to provide defaults or behaviour compatible with older versions. It has no relation to the indexing codec being used and once an index has been

Re: Facet by truncated date

2016-03-31 Thread Emir Arnautovic
Hi Robert, You can use range faceting and set use facet.range.gap to set how dates are "truncated". Regards, Emir On 31.03.2016 10:52, Robert Brown wrote: Hi, Is it possible to facet by a date (solr.TrieDateField) but truncated to the day, or even the hour? If not, are there any other

Re: Facet by truncated date

2016-03-31 Thread Yago Riveiro
. date:"2016-03-31T12:00:0Z" truncated_date_s:'2016-03-31' or truncated_date_i:20160331 (this should be more memory efficient) \-- /Yago Riveiro ![](https://link.nylas.com/open/m7fkqw0yim04itb62itnp7r9/4708d221e9a24b519bab6 3936013ce59) On Mar 31 2016, at 10:08 am, Emir

How to reference search term(s) in searchHandler

2016-03-31 Thread John Bickerstaff
I believe I want to set up a search handler with a function query to avoid needing to code it. The function query does some weighting by checking the "title" field for whatever the user entered as their search term (named myCurrentSearchTerm below) To test this out in the Admin UI, I have the

most popular collate spellcheck

2016-03-31 Thread michael solomon
Hi, It's possible to return the most popular collate? i.e: spellcheck.q = prditive analytiycs spellcheck.maxCollations = 5 spellcheck.count=0 response: false positive analytic positive analytics predictive analytics primitive analytics punitive analytic I want

Re: Load Resource from within Solr Plugin

2016-03-31 Thread Max Bridgewater
Hi Folks, Thanks for all the great suggestions. i will try and see which one works best. @Hoss: The WEB-INF folder is just in my dev environment. I have a localo Solr instance and I points it to the target/WEB-INF. Simple convenient setup for development purposes. Much appreciated. Max. On

index time boost nested documents JSON format

2016-03-31 Thread michael solomon
Hi, how can I index time boost nested documents JSON format?

issues using BlendedInfixLookupFactory in solr5.5

2016-03-31 Thread xavi jmlucjav
Hi, I have been working with AnalyzingInfixLookupFactory/BlendedInfixLookupFactory in 5.5.0, and I have a number of questions/comments, hopefully I get some insight into this: - Doc not complete/up-to-date: - blenderType param does not accept 'linear' value, it did in 5.3. I commented it out

Re[2]: [possible bug]: [child] - ChildDocTransformerFactory returns top level documents nested under middle level documents when queried for the middle level ones

2016-03-31 Thread Alisa Z .
Thanks, Anshum! This definitely brings the result I wanted. It is just the description from ChildDocTransformerFactory docs (" This transformer returns all descendants of each parent document in a flat list nested inside the parent document .") is a bit misleading...  One should never stop

Re: Question about caching

2016-03-31 Thread Erick Erickson
A couple of quick things to add: The queryResultCache was historically built for paging, it's quite common for its utilization to be low, but... it's not a very expensive cache. Basically, it's a map where each entry (up to "size") is a key that is the query and value that is

Slor 5.5.0 : SolrException: fieldType 'booleans' not found in the schema

2016-03-31 Thread Girish Tavag
Hi, I am new to solr, I started using this only from today, when I wanted to create dih, i'm getting the below error. SolrException: fieldType 'booleans' not found in the schema What does this mean? and How to resolve this. Regards, GNT

Re: Slor 5.5.0 : SolrException: fieldType 'booleans' not found in the schema

2016-03-31 Thread Binoy Dalal
Somewhere in your schema you've defined a field with type as "booleans". You should check if you've made a typo somewhere by adding that extra s after boolean. Else if it is a separate field that you're looking to add, define a new fieldtype called booleans. All the info to help you with this can

Re: Question about caching

2016-03-31 Thread Shawn Heisey
On 3/31/2016 7:25 AM, Bastien Latard - MDPI AG wrote: > I read this very interesting post 'Understanding and tuning your Solr > caches > ' ! > This is the only good document that I was able to find after searching > for 1 day! > > /I

Re: Slor 5.5.0 : SolrException: fieldType 'booleans' not found in the schema

2016-03-31 Thread Girish Tavag
Hi Binoy, I copied the entire file schema.xml from the working example provided by solr itself. Solr provided dih example i'm able to run successfully .How could this be a problem? On Fri, Apr 1, 2016 at 12:39 AM, Binoy Dalal wrote: > Somewhere in your schema you've

Re: Slor 5.5.0 : SolrException: fieldType 'booleans' not found in the schema

2016-03-31 Thread Shawn Heisey
On 3/31/2016 1:24 PM, Girish Tavag wrote: > I copied the entire file schema.xml from the working example provided by > solr itself. Solr provided dih example i'm able to run successfully .How > could this be a problem? This info is exactly the same as what Binoy told you, except that I am

Re: Performance potential for updating (reindexing) documents

2016-03-31 Thread Shawn Heisey
On 3/24/2016 11:57 AM, tedsolr wrote: > My post was scant on details. The numbers I gave for collection sizes are > projections for the future. I am in the midst of an upgrade that will be > completed within a few weeks. My concern is that I may not be able to > produce the throughput necessary to

make document with more matches rank higher with edismax parser?

2016-03-31 Thread Derek Poh
Hi Correct me if I am wrong, my understanding of edismax parser is it use the max score of the matches in a doc. How do I make docs with more matches rank higher with edismax? These 2 docs are from the same query resultand this is their order in the result. P_ProductId: 1116393488

Re: Slor 5.5.0 : SolrException: fieldType 'booleans' not found in the schema

2016-03-31 Thread Jack Krupansky
Exactly which file did you copy? Please give the specific directory. -- Jack Krupansky On Thu, Mar 31, 2016 at 3:24 PM, Girish Tavag wrote: > Hi Binoy, > > I copied the entire file schema.xml from the working example provided by > solr itself. Solr provided dih

update log not in ACTIVE or REPLAY state

2016-03-31 Thread michael dürr
Hallo, when I launch my two nodes in Solr cloud, I always get the following error at node2: PeerSync: core=portal_shard1_replica2 url=http://127.0.1.1:8984/solr ERROR,​ update log not in ACTIVE or REPLAY state. FSUpdateLog{state=BUFFERING,​ tlog=null} Actually, I cannot experience any problems,

Re: Complex Sort

2016-03-31 Thread Emir Arnautovic
You would have to write your custom function for that. On 31.03.2016 11:24, ~$alpha` wrote: I am not sure how to use "Sort By Function" for Case. |10#40|14#19|33#17|27#6|15#6|19#5|7#2|6#1|29#1|5#1|30#1|28#1|12#0|20#0| Can you tell how to fetch 40 when input is 10. -- View this message in

Re: Facet by truncated date

2016-03-31 Thread Emir Arnautovic
the truncated data (https://wiki.apache.org/solr/UpdateRequestProcessor) or add the field in indexing time. date:"2016-03-31T12:00:0Z" truncated_date_s:'2016-03-31' or truncated_date_i:20160331 (this should be more memory efficient) \-- /Yago Riveiro ![](https://link.nyla