lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anuj Kumar <anujs...@gmail.com>
Subject Re: querying in Java
Date Fri, 29 Apr 2011 17:51:20 GMT
Hi Jeff,

In that case, it will query w.r.t default field. What is your default search
field in the schema?

Regards,
Anuj

On Fri, Apr 29, 2011 at 11:10 PM, Saler, Jeff <JSALER@ball.com> wrote:

> Is there any way to query for data that is in any field, i.e. not using
> a specific field name?
>
>
>
> For example, when I use the following statements:
>
>
>
>                SolrQuery  query = new SolrQuery();
>
>                Query.setQuery("ANALYST:John Schummers");
>
>      QueryResponse  rsp = server.query(query);
>
>
>
>
>
> I get the documents I'm looking for.
>
>
>
> But I would like to get the same set of documents without using the
> specific ANALYST field name.
>
> I have tried using just "Schummers" as the query, but no documents are
> returned.
>
> The ANALYST field is an indexed field.
>
>
>
>
>
>
> This message and any enclosures are intended only for the addressee.
>  Please
> notify the sender by email if you are not the intended recipient.  If you
> are
> not the intended recipient, you may not use, copy, disclose, or distribute
> this
> message or its contents or enclosures to any other person and any such
> actions
> may be unlawful.  Ball reserves the right to monitor and review all
> messages
> and enclosures sent to or from this email address.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message