How large?

But rather than think about if there's something in the "searching" that's not working, the first step might be to make sure that everything in the _indexing_ is working -- that your field is actually being indexed as you intend.

I forget the best way to view what's in your index -- the Luke request handler in the Solr admin maybe?

On 3/23/2011 12:05 PM, Paul wrote:
I'm using solr 1.4.1.

I have a document that has a pretty big field. If I search for a
phrase that occurs near the start of that field, it works fine. If I
search for a phrase that appears even a little ways into the field, it
doesn't find it. Is there some limit to how far into a field solr will
search?

Here's the way I'm doing the search. All I'm changing is the text I'm
searching on to make it succeed or fail:

http://localhost:8983/solr/my_core/select/?q=%22search+phrase%22&hl=on&hl.fl=text

Or, if it is not related to how large the document is, what else could
it possibly be related to? Could there be some character in that field
that is stopping the search?

Reply via email to