: It is a custom filter.  Essentially, what I'm trying to do is combine 
: words that are associated with each other into a single token.  Here is 
: the incrementToken() method, where most of the work is being performed:

so clearly this is a custom TokenFilter ... but how exactly are you using 
this filter? do you register it for a fieldType using the normal 
schema.xml mechanisms -- or do you have it as part of some sort of custom 
Query parser?

all of the details of your custom code mater....

: > numbers, I have run into a very strange situation.  When I perform a > 
: search (for example my_num:”thirty seven”), it returns the correct > 
: results.  However, if I run this exact same search again, it returns > 
: no results, and continues giving no results.  If I restart my instance, 
: it gives results again (once).

...at first blush, that sounds like it could be a caching problem, which 
could be explained if you have other custom code dealing with parsing the 
query (to use your custom TokenFilter) or with modifying the request ... 
you may have done this in a way that isn't being taken into account with 
the caching layer.

tell us *everything * baout your custom code, and your configs, and your 
schema, and what *exactly* do your request URLs look like, and what log 
messages you see when you hit those urls, etc...

https://wiki.apache.org/solr/UsingMailingLists

details matter.



-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to