Fragments from the user list (search it for the full context, I don't
have the URL for the searchable user list handy, but it's on the Wiki)


******original post************
Hi,

i'm using solr 1.3.0 and SolrJ for my java application

I need to highlight my query words even if I use wildcards

for example
q=tele*

i need to highlight words as "television", "telephone", etc....

I found this thread
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200704.mbox/%3cof8c6e2423.f20baa06-onc12572c6.003fc377-c12572c6.00427...@ibs.se%3e

but i have not understood ho to solve my problem

could anyone tell me how to solve the problem with SolrJ....  and with solr
web (by url)?

thanks in advance,
  Revenge

 ****************reply*****************
To do it now, you'd have to switch the query parser to using the old style
wildcard (and/or prefix) query, which is slower on large indexes and has max
clause issues.

I think I can make it work out of the box for the next release again though.
see https://issues.apache.org/jira/browse/SOLR-825

On Fri, Mar 13, 2009 at 3:06 PM, Narayanan, Karthikeyan <
karthikeyan.naraya...@gs.com> wrote:

> Hi,
>       I am trying to perform wildcard search using q query.  The query
> results are returned.  After getting the results, I trying to get the
> highlighting using ressponse.getHighlighting().
> It returns empty list. But It works fine for non-wildcard searches.  Any
> ideas please?.
>
> Thanks.
>
> Karthik
>
>
>

Reply via email to