lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: Maximum Phrase Length in edismax
Date Tue, 04 Sep 2012 15:52:16 GMT
I tried the following query successfully with both Solr 3.6.1 and 4.0-BETA:

http://localhost:8983/solr/select/?debugQuery=true&defType=edismax&qf=name+features+id&q="Notes,+Calendar,+Phone+book,+Hold+button,+Date+display,+Photo+wallet,+Built-in+games,+JPEG+photo+playback,+Upgradeable+firmware,+USB+2.0+compatibility,+Playback+speed+control,+Rechargeable+capability,+Battery+level+indication"

That certainly has more than 128 characters in the quoted phrase.

Can you give us a query that fails? Also provide the relevant field types. 
Maybe you have an analyzer that generates different terms between index and 
query analysis.

Also add &debugQuery=true to your Solr query request so we can see what 
Lucene query was generated.

-- Jack Krupansky
-----Original Message----- 
From: llee
Sent: Tuesday, September 04, 2012 11:07 AM
To: solr-user@lucene.apache.org
Subject: Maximum Phrase Length in edismax

I have a site where users need to be able to execute queries that contain
long quoted strings. The site is using Apache Solr with the EDismax parser
enabled. When users enter phrases that have more than ~128 characters, Solr
fails to return any results. When they enter shorter phrases, Solr returns
valid results. It appears that Solr is imposing a limit on phrase lengths.
Is this interpretation correct? If so, is it possible to increase this
limit?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Maximum-Phrase-Length-in-edismax-tp4005290.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message