Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

solr cfsearch fails with multiple collections

$
0
0

I am upgrading to CF10/SOLR and finding that <cfsearch> fails when I specify multiple collections.  I am not doing a category search.  The search works fine for any single collection, but specifying multiple collections delimited by commas generates the failure...

 

Diagnostics: There was a problem while attempting to perform a search. Error executing query : read past EOF java.io.IOException: read past EOF at org.apache.lucene.store.MMapDirectory$MMapIndexInput.readByte(MMapDir ectory.java:278) at org.apache.lucene.store.DataInput.readVInt(DataInput.java:105) at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64) at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:131 ) at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:1 66) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:274) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:210) at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:58) at org.apache.lucene.index.IndexReader.termDocs(IndexReader.java:1002) at org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:488 ) at org.apache.lucene.index.DirectoryReader.termDocs(DirectoryReader.java :720) at org.apache.solr.search.SolrIndexReader.termDocs(SolrIndexReader.java: 321) at org.apache.solr.search.SolrIndexSe...

The error occurred on line 16.

 

Line 16 is the criteria parameter which fails even when the Form.SearchPhrase variable is replaced with a literal eg "bulb."

 

<cfsearch      name="CommentSearch"

                      collection="forum_5000,forum_10000,forum_15000,forum_20000,forum_2500 0,forum_30000,forum_35000"

                      criteria="#Form.SearchPhrase#">


Any suggestions?


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>