ask question about solr 6

2016-08-24 Thread Hamed Gh
hello,dear i have a question about solr 6 or 1.6 question: solr 6 : search query with spaces between other languages words query: ../solr/human_info/select?q=title:دانش آموزان گاج=0=title=true=1 دانش آموزان گاج -> into english means -> GAJ institution students query response:

Re: Solr 6.1 Won't Start on Non-bash-Enabled System

2016-08-24 Thread Scott Vanderbilt
Thank you for your reply. After some experimentation and reading of jetty docs, I found that by deleting the "--daemon" argument and add "--module=http" to my startup script, I was able to get Solr running, albeit, with several warnings that I would like to resolve. When you say "look at

Re: Solr 6.1 Won't Start on Non-bash-Enabled System

2016-08-24 Thread Alexandre Rafalovitch
Workarounds 1. get a VM with openness and bash. 2. Enable +x (echo expanded commands) on the first line of the script where it specifies bash 3. Run the script with 'tee' or 'transcript' or other output redirect. Use the full JVM launching command to see full expanded parameter list. Or get Solr

Re: Solr 6.1 Won't Start on Non-bash-Enabled System

2016-08-24 Thread Yonik Seeley
A unix system w/o bash is rare enough these days, it's unlikely to be supported. As a workaround, last I checked, I was still able to create a WAR (by jarring up the appropriate directory) and launch it the old 4.x way (java -jar start.jar) For your setup, try putting the webapp in

Solr 6.1 Won't Start on Non-bash-Enabled System

2016-08-24 Thread Scott Vanderbilt
I'm attempting to upgrade a Solr 4.8.1 instance to 6.1. The host OS is OpenBSD 6.0. Attempting to start Solr (as in the on-line QuickStart) with: bin/solr start -e cloud -noprompt fails with the error "env: bash: No such file or directory". Apparently bin/solr is a bash script. The OpenBSD

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Ronald Wood
I created https://issues.apache.org/jira/browse/SOLR-9437 for the proposal below. I suppose beside feasibility, there’s the question of whether the change is needed by others. I’d love to hear if it meets anyone else’s needs. - Ronald S. Wood On 8/24/16, 15:08, "Ronald Wood"

restore failure on Solr 6.0.0

2016-08-24 Thread Siddhartha Singh Sandhu
Hi, The API to backup(action=BACKUP) has not been implemented for Solr 6.0.0. I used the replication end pt. to create a backup which it did. When I try to restore from backup Solr throughs: "exception":"java.lang.OutOfMemoryError: Java heap space" I would believe that the amount of memory

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Ronald Wood
OK. Thank you, Alessandro, for clarifying this matter. The reason I wasn’t sure about this is that this is somewhat ambiguous in the documentation. In the 6.1 Guide I see: “If you have already indexed data into your Solr index, you will need to completely re-index your content after changing

Re: equivalent of localhost_access_log for solr 5

2016-08-24 Thread elisabeth benoit
Thanks a lot for your answer. Best regards, elisabeth 2016-08-24 16:16 GMT+02:00 Shawn Heisey : > On 8/24/2016 5:44 AM, elisabeth benoit wrote: > > I'd like to know what is the best way to have the equivalent of tomcat > > localhost_access_log for solr 5? > > I don't know

ask question about solr 1.6 or 6

2016-08-24 Thread Hamed Gh
hello,dear i have a question about solr 6 or 1.6 question: how do i search or query in solr 1.6 that bring my filed values without seperate words although space between iranian-persian or arabic language character for example: ../tableName/select?q=*:*={!q.op=AND df=title}دانش آموزان

Re: equivalent of localhost_access_log for solr 5

2016-08-24 Thread Shawn Heisey
On 8/24/2016 5:44 AM, elisabeth benoit wrote: > I'd like to know what is the best way to have the equivalent of tomcat > localhost_access_log for solr 5? I don't know for sure what that is, but it sounds like a request log. If you edit server/etc/jetty.xml you will find a commented out section

Three Lucene hackdays coming soon

2016-08-24 Thread Charlie Hull
Hi all, We're participating in three events in Glasgow, London and Boston over the next couple of months - details in my blog at http://www.flax.co.uk/blog/2016/08/24/not-one-three-lucene-hackdays-coming-soon/ . Very interested in any ideas the community has about what we should try to

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Alessandro Benedetti
I am sorry Ronald but : " ask because my presupposition has been that we could turn it on without any harm as we incrementally converted our indexes." This is not possible, if you change the schema and then slowly update the documents you are introducing inconsistency that will reflect in

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Ronald Wood
Yes, Shawn, our indexes meet the requirements for atomic updates. We actually depend on atomic updates since our users can alter metadata about any of our indexed records. We don’t have to incur the cost of a full re-index of a record for every change. This is especially critical when a user

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Shawn Heisey
On 8/23/2016 2:01 PM, Ronald Wood wrote: > In general, is there a way to migrate existing indexes (we have petabytes of > data) by enabling docvalues and incrementally re-indexing? We expect the > latter would take a month using an atomic update process. One way to handle it is to build a new

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Ronald Wood
Thanks Toke. I’ve read some of your other helpful blog entries but I missed that one. Did you find you had to do a full conversion all at once because simply turning on docvalues in the schema caused issues? I ask because my presupposition has been that we could turn it on without any harm

another log question about solr 5

2016-08-24 Thread elisabeth benoit
Hello again, We're planning on using solr 5.5.2 on production, using installation script install_solr_service.sh. I was wondering was is the right way to prevent solr 5 from creating a new log file at every startup (and renaming the actual file mv "$SOLR_LOGS_DIR/solr_gc.log"

Re: Settings for DocValues

2016-08-24 Thread Alessandro Benedetti
In addition to what Erick said, there is actually a smaller implication between Stored and docValues as well . With latest Solr releases docValues data structures are used to fetch the stored content. In the case of multi-valued fields, we can have inconsistency with the ordering of the multiple

equivalent of localhost_access_log for solr 5

2016-08-24 Thread elisabeth benoit
Hello, I'd like to know what is the best way to have the equivalent of tomcat localhost_access_log for solr 5? Best regards, Elisabeth

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Alessandro Benedetti
Hi Toke ! Good stuff ! So basically using your tool you build a copy of the index ( similar to what optimize does) without affecting the main index right ? So the procedure would be : 1) Solr is running 2) Run the tool pointing to the Solr Index, this will be slow but will generate a new index

Re: Is it safe to upgrade an existing field to docvalues?

2016-08-24 Thread Toke Eskildsen
On Tue, 2016-08-23 at 20:01 +, Ronald Wood wrote: > In general, is there a way to migrate existing indexes (we have > petabytes of data) by enabling docvalues and incrementally re- > indexing? We expect the latter would take a month using an atomic > update process. I did write a tool for

Re: Custom handler/content stream loader

2016-08-24 Thread Jamie Johnson
I did start start with this but it's a limited approach since it only works with text fields. Right now I'm using this with a bunch of custom fields extended to support payloads but that is expensive to maintain between versions, especially when APIs change so I'm looking for a less invasive way

AW: Re: Tagging and excluding Filters with BlockJoin Queries and BlockJoin Faceting

2016-08-24 Thread Tobias Lorenz
I tried that too, with no effect. The excluded facet just disappears completely (even the value that is filtered on in the fq) when using the exclusion that has been tagged, like it did before. When using a random exclusion (e.g. foo) that facet is visible again in the result set, but that's

Re: Re: Tagging and excluding Filters with BlockJoin Queries and BlockJoin Faceting

2016-08-24 Thread Mikhail Khludnev
Sure. There are might mismatch with expectation. However, the first guess is to put {!tag into beginning. eg, check with fq={!tag=myTag}{!parent which='isparent:true'}color:blue On Tue, Aug 23, 2016 at 4:05 PM, Tobias Lorenz wrote: > Hi Mikhail, > > Thanks for replying so