Hi all, 

I am working in Chinese App. I am suffering a question of whether a PhraseQuery 
involved StartOffset and EndOffset of a term on SOLR. 


For instance:
Text: ??????????????????
Indexing: ??|??|????|????????|????|??????|????|??
position:  1 | 2| 3   | 4         | 
4   | 5     | 5    | 5
querying:  ??|??|????|????|??????


We have seen PhraseQuery base on Position. It works well expected for recalling 
nothing when the query is "????|??".


Will PhraseQuery match documents according to 'StartOffset/EndOffset' of the 
terms? If so, it will filter the above document(????|??????|????|??).


The question is HOW can I do set something on PhraseQuery for working within 
term's offset.
Or, maybe we have the other approaches to do that.


Thanks very much in advance.



-------------------------------
Daming
Apache SkyWalking

Reply via email to