: searches. That is fine by me. But I'm still at the first question:
: How do I conduct a wildcard search for ARIZONA on a solr.textField?  I tried

as i said:  it really depends on what kind of "index" analyzer you have 
configured for the field -- the query analyzer isn't used at all when 
dealing with ildcard and prefix queries, so what you type in before the 
"*" must match the prefix of an actually indexed term that makes it into 
your index as a result of the index analyzer.

If you add the debugQuery=true param to your queries, and compare the 
differnces you see in the parsedquery_toString value between searching for 
field:AR* and field:Arizona and field:ARIZONA you'll see what i mean.

if you take a look at the Luke request handler which will show you the 
actual raw terms in your index (or the top N anyway), you can see what's 
really in there -- or --if you use the analysis.jsp interface, it will 
show you 
what Terms your analyzer will actaully produce if you index the raw string 
"ARIZONA" ... whatever you see there is what you need to be searching for 
when you do your prefix queries.


-Hoss

Reply via email to