Sorry for not being clear.

Yes, I am trying to do a wildcard search for terms that contain a colon
in the text (ie: "foo:bar") in the filed list mentioned in the default
requesthandler that I posted earlier.  Description is one of those
fields.  Mpg is another field.  I have not included the entire default
field list for brevity's sake.

The *s  in my queries that I have included are part of the actual solr
query (to denote wildcards as you said earlier).
Hope I am clear this time.

Thank you again for your help.

Raj


-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Tuesday, September 11, 2012 3:10 PM
To: solr-user@lucene.apache.org
Subject: RE: Term searches with colon(:)


: Thank you for the reply and help.  The description field is part of
the
: defaultHandler's eDisMax search list (qf):
        ...
: Similar queries for other escaped characters in "description" using
term
: search return correctly as shown from the logs correctly.

Ok ... but you haven't really answered my main question -- what are you
trying to match?  are you trying to search for the literal term "*:*" in
the description field? are you trying to do a wildcard search for terms
that contain a colon in the middle (ie: "foo:bar"), are you trying to
match all documents in the description field?

you've said it doesn't match anything, but you haven't explain what you
expect it to match

(Actually .. lemme back up and ask a silly question -- are the "*" 
characters in your email actaully part of the query you are sending to
solr, or is that just an artifact of your mail client translating bold
or highlighted characters into "*" when converting to plain text?)

: what are you expecting that query to match?  because by backslash
: escpaing the colon, what you are asking for there is for Solr to
search
: for the literal string "*:*" in your default search field
(afterwhatever
: query time analysis is configured on your default search field)


-Hoss

Reply via email to