lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JensBurkhardt <jensburkha...@web.de>
Subject Re: combine wildcard and phrase query
Date Thu, 06 Mar 2008 12:28:18 GMT

okay, another problem occured. I have different fields with the same name. I
can't seperate them like naming them field1 field2 etc. cause while indexing
i don't know how many fields i will need.
Like a book has several signature numbers i want to save them in a field
signature and when i search for such a number i want the search hit every
single field and not all fields together.
Right now i separate the string using an unique separator (in this case just
$$$) so i can split the string into the numbers but i think this is kinda
the worst form doing it.




JensBurkhardt wrote:
> 
> hey everybody,
> 
> I'm wondering if it's possible to combine wildcards and phrase query. 
> 
> For example "term1 term*"
> 
> I know that the documentation says "Lucene supports single and multiple
> character wildcard searches within single terms (not within phrase
> queries)" but maybe someone has had the same problem and found a solution.
> 
> Thanks for your help
> 
> Jens Burkhardt
> 

-- 
View this message in context: http://www.nabble.com/combine-wildcard-and-phrase-query-tp15870647p15872169.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message