OR is probably reserved for the disjunction 'or' not the text "Or". I just read of a similar thing happening with RavenDb. Which uses Lucene for indexing. I don't have any experience with Lucene at this point, so I have no idea where to go from here.
On May 21, 1:06 pm, Chuck <[email protected]> wrote: > Ok...this is really, really stupid. > > I have an index where states are entered as two digit > codes...Everything works fine, until you search for Oregon (Or). I > have made the field "Untokenized," but, when I create the full text > query, my query is empty. > > var query = fullTextSession.CreateFullTextQuery<Entity>("State:\\OR"); > > query.ToString <== empty. > > I have been able to create a TermQuery and I get results, so, I am > going to try and go down that path of building up a query, but, I > thought I would ask if anyone else had any insights/suggestions > (including adding "Oregon" to the index)... > > thanks all > > C > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/nhusers?hl=en. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
