[jira] [Commented] (SOLR-7906) java.lang.NullPointerException from Json when doing solr search
[ https://issues.apache.org/jira/browse/SOLR-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681764#comment-14681764 ] nelson maria commented on SOLR-7906: That is pseudo code Erick Here is what it would look like without UTF. http://localhost:8080/query?q=(PgmNaFuzzy:tradition~.75 with~.75 a~.75 twist~.75) OR PgmNa:\tradition with a twist\) AND(SerNaFuzzy:quilting~.75 arts~.75)))wt=jsonfl=id,PgmCde,PgmNa,PgmPriInd,SerCde,SerNa,SerPriInd,score,PgmNAscore:strdist(PgmNa:\tradition with a twist\,edit),SerNAscore:strdist(SerNa:\quilting arts\,edit)start=1rows=50PgmId=EP010131490183matchtype=series_ep Here is with the UTF http:///localhost:8080://query?q=%28%28PgmNaFuzzy%3A%28tradition%7E0.75+with%7E0.75+a%7E0.75+twist%7E0.75%29+OR+PgmNa%3A%22tradition+with+a+twist%22%29AND+%28SerNaFuzzy%3A%28quilting%7E0.75+arts%7E0.75%29%29%298ShowYr%3A%222015%22+OR+ShowYr%3A%5B*+TO+1939%5D%29wt=jsonfl=id,PgmCde,PgmNa,PgmPriInd,SerCde,SerNa,SerPriInd,score,PgmNAscore:strdist(PgmNa%2C%22tradition+with+a+twist%22%2Cedit%29,SerNAscore:strdist(SerNa%2C%22quilting+arts%22%2Cedit%29start=1rows=50PgmId=EP010131490183matchtype=series_ep java.lang.NullPointerException from Json when doing solr search --- Key: SOLR-7906 URL: https://issues.apache.org/jira/browse/SOLR-7906 Project: Solr Issue Type: Bug Components: clients - java Affects Versions: 4.8 Environment: Linux Reporter: nelson maria Priority: Blocker Attachments: field type.txt Getting this response from Solr when doing search. {error:{trace:java.lang.NullPointerException\n,code:500}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-7906) java.lang.NullPointerException from Json when doing solr search
[ https://issues.apache.org/jira/browse/SOLR-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nelson maria updated SOLR-7906: --- Attachment: field type.txt java.lang.NullPointerException from Json when doing solr search --- Key: SOLR-7906 URL: https://issues.apache.org/jira/browse/SOLR-7906 Project: Solr Issue Type: Bug Components: clients - java Affects Versions: 4.8 Environment: Linux Reporter: nelson maria Priority: Blocker Attachments: field type.txt Getting this response from Solr when doing search. {error:{trace:java.lang.NullPointerException\n,code:500}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-7906) java.lang.NullPointerException from Json when doing solr search
[ https://issues.apache.org/jira/browse/SOLR-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14681096#comment-14681096 ] nelson maria commented on SOLR-7906: Hi. Thanks for watching. I was wondering where i can attach place comment until i found out i was logged out. I've attached a text file containing the field definition in schema.xml The issue concerns to fields (pgmna and Serna) which i'm using in combination to do exact fuzzy match on both. pseudo code of the url should be something like this. http//localhost..q(:PgmNa:\exact\ or Pgmnafuzzy:exact~.75) AND (:SerNa:\exact\ or Sernafuzzy:exact~.75)wt=jsonflPgmscore:strdist(,Sernscore:strdist(... The url will return NPE if i send as if. However, If i remove the stringdistance score for SErna, the error is again. Another is if I change AND between the two sets to OR, i am not getting the NPE. http://localhost:8080/query?q=%28%28PgmNaFuzzy%3A%28tradition~0.75+with~0.75+a~0.75+twist~0.75%29+OR+PgmNa%3A%22tradition+with+a+twist%22%29AND+%28SerNaFuzzy%3A%28quilting~0.75+arts~0.75%29%29%29+AND+SerInd%3A%22Y%22+AND+-PgmTypCde%3A%22133%22+AND+%28ShowYr%3A%222015%22+OR+ShowYr%3A%5B*+TO+1939%5D%29wt=jsonfl=id,PgmCde,PgmNa,PgmPriInd,SerCde,SerNa,SerPriInd,score,SynNr,EpNr,IntCrSymVerInd,PgmPrdYr,ExpAirDt,CreTs,ShowYr,PgmEpNr,PgmTypCde,PgmVr,SerInd,SolrId,PgmNAscore:strdist(PgmNa%2C%22tradition+with+a+twist%22%2Cedit%29,SerNAscore:strdist(SerNa%2C%22quilting+arts%22%2Cedit%29start=1rows=50PgmId=EP010131490183matchtype=series_ep java.lang.NullPointerException from Json when doing solr search --- Key: SOLR-7906 URL: https://issues.apache.org/jira/browse/SOLR-7906 Project: Solr Issue Type: Bug Components: clients - java Affects Versions: 4.8 Environment: Linux Reporter: nelson maria Priority: Blocker Getting this response from Solr when doing search. {error:{trace:java.lang.NullPointerException\n,code:500}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-7906) java.lang.NullPointerException from Json when doing solr search
nelson maria created SOLR-7906: -- Summary: java.lang.NullPointerException from Json when doing solr search Key: SOLR-7906 URL: https://issues.apache.org/jira/browse/SOLR-7906 Project: Solr Issue Type: Bug Components: clients - java Affects Versions: 4.8 Environment: Linux Reporter: nelson maria Priority: Blocker Getting this response from Solr when doing search. {error:{trace:java.lang.NullPointerException\n,code:500}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org