If debugQuery doesn't give you what you want, you can write a custom search
component which runs after the QueryComponent and extracts the info you want
from the generated query and then simply adds it to the response in any form
that you want.
-- Jack Krupansky
-----Original Message-----
From: Romita Saha
Sent: Monday, January 21, 2013 1:49 AM
To: solr-user@lucene.apache.org
Subject: Re: Tokenized keywords
What I am trying to achieve is as follows.
I query "Search for all the Laptops" and my tokenized key words are
"search laptop" (I apply stopword filter to filter out words like
for,all,the and i also user lowercase filter).
I want to display these tokenized keywords using debugQuery.
Thanks and regards,
Romita
From: Dikchant Sahi <contacts...@gmail.com>
To: solr-user@lucene.apache.org,
Date: 01/21/2013 02:26 PM
Subject: Re: Tokenized keywords
Can you please elaborate a more on what you are trying to achieve.
Tokenizers work on indexed field and doesn't effect how the values will be
displayed. The response value comes from stored field. If you want to see
how your query is being tokenized, you can do it using analysis interface
or enable debugQuery to see how your query is being formed.
On Mon, Jan 21, 2013 at 11:06 AM, Romita Saha
<romita.s...@sg.panasonic.com>wrote
Hi,
I use some tokenizers to tokenize the query. I want to see the tokenized
query words displayed in the <response>.Could you kindly help me do
that.
Thanks and regards,
Romita