field "title_ngram" was indexed without position data; cannot run PhraseQuery

2013-10-15 Thread MC
Hello, Could someone explain (or perhaps provide a documentation link) what does the following error mean: "field "title_ngram" was indexed without position data; cannot run PhraseQuery" I'll do some more searching online, I was just wondering if anyone has encountered this error before, and

Re: field "title_ngram" was indexed without position data; cannot run PhraseQuery

2013-10-16 Thread MC
n-grams typically doesn't collide with phrase searches. If you need both behaviors it's far better to use copyField and have one field dedicated to standard tokenization and token filters, and another field for n-grams. I hope that's useful to you. On Oct 15, 2013, at 6:14 AM, MC w

faceted search field sorting

2013-12-15 Thread MC
Hello, Here is a public API that uses facet fields: http://golr.berkeleybop.org/select?qt=standard&fl=*&version=2.2&wt=json&indent=on&rows=0&facet=true&facet.field=type&q=document_category:%22annotation%22 It looks like the default behavior is to sort facet_counts.facet_fields (field called 'typ

which jar contains org.apache.solr.request.XSLTResponseWriter ?

2013-10-10 Thread MC
Hello, My embedded solr server (4.4.0) is crashing when I submit a query. The reason is this: Caused by: java.lang.ClassNotFoundException: org.apache.solr.request.XSLTResponseWriter I have the following jars in my classpath: solr-core-4.4.0.jar solr-solrj-4.4.0.jar solr-dataimporthandler-4.4.0.

Re: which jar contains org.apache.solr.request.XSLTResponseWriter ?

2013-10-10 Thread MC
code started working after I changed it to this: class="org.apache.solr.response.XSLTResponseWriter"> Thanks a lot, M On 10/10/13 1:50 PM, Shawn Heisey wrote: On 10/10/2013 10:15 AM, MC wrote: My embedded solr server (4.4.0) is crashing when I submit a query. The