! ERROR: Application not supported by 'heroku/nodejs' buildpack ! ! The 'heroku/nodejs' buildpack is set on this application, but was ! unable to detect a Node.js codebase. ! ! A Node.js app on Heroku requires a 'package.json' at the root of ! the directory structure. ! ! If you are trying to deploy a Node.js application, ensure that this ! file is present at the top level directory. This directory has the ! following files: ! ! index.php ! Procfile ! public/ ! ! If you are trying to deploy an application written in another ! language, you need to change the list of buildpacks set on your ! Heroku app using the 'heroku buildpacks'command. ! ! For more information, refer to the following documentation: ! https://devcenter.heroku.com/articles/buildpacks ! https://devcenter.heroku.com/articles/nodejs-support#activation More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure ! Push failed
因为住的地方比国内要小不少,本着节省空间来考虑打算买台游戏本来着,看了一圈发现要来个 1070 显卡的都要 1w3 左右(Orz。在发出人类科技或许被智子封锁了的感叹后,无意中开始看起了 imac –反正修图都是丢到 lightroom 跟 photeshot 里用 Mac 也没什么不妥,然后在看 B 站时无意看到翼王的 Mac Pro 2009 款改造的视频后,本着看看的原则上雅虎日拍搜索了一下,这配置一般的 Mac Pro 都不算贵啊,要不直接来台 Mac Pro 好了。花了点时间了解各种型号的差别,直接就买了这台双 CPU 款的 Mac Pro 2010。
--- FormatStyle.FULL --- zh CN -> 2018年7月23日 星期一 zh HK -> 2018年07月23日 星期一 zh TW -> 2018年7月23日 星期一 en US -> Monday, July 23, 2018 en UK -> Monday, July 23, 2018 ja JP -> 2018年7月23日 --- FormatStyle.LONG --- zh CN -> 2018年7月23日 zh HK -> 2018年07月23日 星期一 zh TW -> 2018年7月23日 en US -> July 23, 2018 en UK -> July 23, 2018 ja JP -> 2018/07/23 --- FormatStyle.MEDIUM --- zh CN -> 2018-7-23 zh HK -> 2018年7月23日 zh TW -> 2018/7/23 en US -> Jul 23, 2018 en UK -> Jul 23, 2018 ja JP -> 2018/07/23 --- FormatStyle.SHORT --- zh CN -> 18-7-23 zh HK -> 18年7月23日 zh TW -> 2018/7/23 en US -> 7/23/18 en UK -> 7/23/18 ja JP -> 18/07/23
wget https://github.com/bell-sw/Liberica/releases/download/10.0.1/bellsoft-jdk10.0.1-linux-arm32-vfp-hflt.tar.gz tar -zxvf bellsoft-jdk10.0.1-linux-arm32-vfp-hflt.tar.gz
从直觉上来说应该是写作 -field:value1 OR -field:value2 ,这么是没问题并且也是可以检索出数据的,但是如果加上其他的条件比如 (-field:value1 OR -field:value2) AND other_or_some_field:value3 这样的话,这样是检索不出来数据的,why??
解决方法:多查询条件下,在非查询的前面添加全量查询即可,即 ((*:* AND -field:value1) OR (*:* AND -field:value2)) AND other_field:value3。而 (-field:value1 OR -field:value2) 这个条件跟 -(field:value1 AND field:value2) 其实是等效的逻辑,所以进一步可改写成 (*:* AND -(field:value1 AND field:value2)) AND other_field:value3。也就是说,多条件的情况下,非或条件要写成 (*:* AND -field:value) 这样的形式,并且如果可以的话尽量把非或条件写到最后以避免出现这个 magic。
如果情况允许的话,可以把查询条件用 fq 来进行查询。
……
然后就是,如果用到了 spring-data-solr 来进行 solr 查询的话,(*:* AND -field:value) 的写法如下